Date: Tue, 2 Dec 2003 13:48:22 -0500 From: Don Bowman <don@sandvine.com> To: "'freebsd-current@freebsd.org'" <freebsd-current@freebsd.org> Subject: awk versus gawk Message-ID: <FE045D4D9F7AED4CBFF1B3B813C85337035E3FC4@mail.sandvine.com>
next in thread | raw e-mail | index | archive | help
So it appears current has switched 'gawk' to 'awk'. These aren't 100% compatible, here's a little gotcha in case someone else runs into it: awk '{print var}' var='a b' works on 'gawk' (e.g. RELENG_4), but on current, will awk '{print var}' var='a b' awk: newline in string a b... at source line 1 FYI, in case anyone else runs into it. Not sure if this is just gawk being more expressive. --don
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE045D4D9F7AED4CBFF1B3B813C85337035E3FC4>