Or better, it should work same way as gawk, i.e. treat all input data as
single-byte characters, only if -b or --characters-as-bytes option is
used.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/146273
I guess it is design. I think some operations are faster, if you count
bytes instead of characters. There could be an option to allow mawk
count characters, though.
** Description changed:
$ echo ä | mawk '{print length($0)}'
- outputs 2. I expect 1.
+ outputs 2. I expect 1.
$ echo äo | m