Public bug reported:

Binary package hint: mawk

System: Ubuntu 8.04.1
mawk version: 1.3.3-11ubuntu2

Running the following in bash:
for ((i = 1; i <= 10; ++i)); do echo -ne "$i\0"; done | awk 'BEGIN {RS = "\0"}; 
END {print NR}'

Gives: 1
Expected: 10

mawk does not care what RS is set to.

** Affects: mawk (Ubuntu)
     Importance: Undecided
         Status: New

-- 
RS is readonly
https://bugs.launchpad.net/bugs/400409
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to