Hello > On 02/10/2010 21:58, Miroslav Lachman wrote: >> I think there is a bug in AWK in base of FreeBSD 6.x and 7.x (tested on >> 6.4 i386 and 7.3 i386) >> >> I have this simple test case, where I want 2 columns from GeoIP CSV file: >> >> awk 'FS="," { print $1"-"$2 }' GeoIPCountryWhois.csv > > You know that with this syntax FS="," is treated as a condition to > run the following block in angle brackets?
I met the very same problem some time ago, not a bug, feature. http://www.mail-archive.com/freebsd-questi...@freebsd.org/msg55958.html Still, one interesting question remains, why 8.x behaves in a different way then the previous versions. rouba_______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"