I found a version of mawk, maintained by a new developer: http://invisible-island.net/mawk/
New mawk changelog (debian patches included + new things): http://invisible-island.net/mawk/CHANGES This version of mawk (v0.3.4), gives the same output as gawk: $ # mawk 0.3.3 of Ubuntu 10.10 $ echo "1234" | mawk '{print substr($0,0,3)}' 12 $ echo "1234" | gawk '{print substr($0,0,3)}' 123 $ echo "1234" | ./mawk-1.3.4-20100625/mawk '{print substr($0,0,3)}' 123 -- You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/26603 Title: String indexes are inconsistent with other awks -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
