FIELDWIDTHS off-by-one error
Bug #44696 reported by
Gary Coady
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gawk (Debian) |
Fix Released
|
Unknown
|
|||
gawk (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
See
http://
$ echo "a b b" | awk 'BEGIN {FIELDWIDTHS = "1 1 1 "} {print NF}'
2
The result should be 3.
Changed in gawk: | |
status: | Unconfirmed → Confirmed |
Changed in gawk: | |
status: | New → Fix Released |
To post a comment you must log in.
This fixes the reported issue (patch from upstream).