awk problem

Anonymous swell.k at gmail.com
Fri Aug 13 16:13:32 UTC 2010


"Len Conrad" <lconrad at Go2France.com> writes:

> awk 'FS="." { print $(NF-1)"."$NF }'
>
> rm90.steampick.info.rm90.steampick.info
> lanejive.info
> govdelivery.com
> orangetalon.info
> carespecial.info

Hmm, I can't reproduce it on /head. What FreeBSD version you're using?
Can you try with lang/nawk port? nawk is from the same vendor as
/usr/src/contrib/one-true-awk.


More information about the freebsd-questions mailing list