This issue is fixed in Ubuntu 20.04 and later releases. As Ubuntu 18.04 and all earlier releases no longer receive standard support after 2023-06, the fix won't be available in those Ubuntu releases through standard channels. If you want to have it fixed via Ubuntu LTS, please directly consult with Ubuntu LTS persons.
As a result, marking this bug as fix released. ** Changed in: mawk (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mawk in Ubuntu. https://bugs.launchpad.net/bugs/400409 Title: RS is readonly Status in mawk package in Ubuntu: Fix Released Bug description: 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mawk/+bug/400409/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp