Package: gawk
Version: 1:3.1.5.dfsg-4
An issue was reported on the bug-gnu-utils mailing list at
http://lists.gnu.org/archive/html/bug-gnu-utils/2005-10/msg00024.html
$ echo "a b b" | awk 'BEGIN {FIELDWIDTHS = "1 1 1 "} {print NF}'
2
The result should be 3.
This issue is also reported in Ubuntu at
https://launchpad.net/distros/ubuntu/+source/gawk/+bug/44696 and a patch
(in dpatch format) is available at
http://librarian.launchpad.net/2621885/24_incorrect_fieldwidths.dpatch
Thanks,
Gary.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]