Date: Mon, 15 Jul 2002 08:20:58 -0700 (PDT) From: Gordon Tetlow <gordon@FreeBSD.org> To: current@freebsd.org Subject: bug in awk implementation? Message-ID: <Pine.LNX.4.44.0207150812080.27685-100000@smtp.gnf.org>
next in thread | raw e-mail | index | archive | help
I was parsing ldif format with awk (formerly gawk) and found a buglet in awk with the following script: BEGIN { RS="\n\n"; FS="(: |\n)"; } { print $2; } Fed the following output: dn: Some Such DN gidNumber: 1000 uidNumber: 1080 dn: Some Other DN gidNumber: 1000 uidNumber: 1405 This is what I get: one-true-awk: Some Such DN 1000 1080 Some Other DN 1000 1405 gawk: Some Such DN Some Other DN So, this seems to be a bug in the one-true-awk implementation. Any ideas on how to fix this? -gordon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0207150812080.27685-100000>