sed/awk, instead of Perl

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Thu Aug 21 13:13:52 UTC 2008


>
> Try the following:
>
>
> cat t.txt | awk -F\t '{split($1, arr, "."); printf("%s_%s@%s\n", arr[
> 1], arr[2], $2);}'
>
and third


More information about the freebsd-questions mailing list