Wojciech Puchar wrote: >> >> Try the following: >> >> >> cat t.txt | awk -F\t '{split($1, arr, "."); printf("%s_%s@%s\n", arr[ >> 1], arr[2], $2);}' >> > and third If you have nothing nice to say, or can't contribute or point out more efficient ways of doing things in a polite manner, then 'don't say nothin'. Steve