[Touch-packages] [Bug 1462737] Re: mawk counts characters incorrectly

2015-07-29 Thread Jarno Suni
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 Touch seeded packages, which is subscribed to mawk in Ubuntu.

[Touch-packages] [Bug 1462737] Re: mawk counts characters incorrectly

2015-07-19 Thread Jarno Suni
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 |