Comment 17 for bug 1535458

Revision history for this message
sudodus (nio-wiklund) wrote :

No, it *should not*, but it *does*, at least for me in an updated & dist-upgraded 32-bit version (up to date today).

Using the attached file:

nio@xenial32 ~ $ cat seen-binary-by-grep.txt
vMgs ingen l�sning - the Swedish character o-umlaut
osmak ingen l�sning
smak lösningen - the solution
nio@xenial32 ~ $ grep ning seen-binary-by-grep.txt
Binär fil seen-binary-by-grep.txt matchar
nio@xenial32 ~ $ grep -a ning seen-binary-by-grep.txt
vMgs ingen l�sning - the Swedish character o-umlaut
osmak ingen l�sning
smak lösningen - the solution
nio@xenial32 ~ $ tail -n1 seen-binary-by-grep.txt|grep ning
smak lösningen - the solution
nio@xenial32 ~ $ head -n2 seen-binary-by-grep.txt|grep ning
Binär fil (standard in) matchar
nio@xenial32 ~ $ head -n2 seen-binary-by-grep.txt|grep -a ning
vMgs ingen l�sning - the Swedish character o-umlaut
osmak ingen l�sning
nio@xenial32 ~ $