No I still have problems with a file with Swedish characters. In a live
Ubuntu 16.04 LTS I installed grep version 2.25-1~16.04.1, but it did not
help, as you can see from the following dialogue in a terminal window.
ubuntu@ubuntu:~$ apt-cache policy grep
grep:
Installerad: 2.25-1~16.04.1
Kandidat: 2.25-1~16.04.1
Versionstabell:
*** 2.25-1~16.04.1 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
100 /var/lib/dpkg/status
2.24-1 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
ubuntu@ubuntu:~$ grep ning seen-binary-by-grep.txt
Binary file seen-binary-by-grep.txt matches
ubuntu@ubuntu:~$ 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
ubuntu@ubuntu:~$ tail -n1 seen-binary-by-grep.txt |grep ning
smak lösningen - the solution
ubuntu@ubuntu:~$ tail -n2 seen-binary-by-grep.txt |grep ning
Binary file (standard input) matches
ubuntu@ubuntu:~$ tail -n2 seen-binary-by-grep.txt |grep -a ning
osmak ingen l�sning
smak lösningen - the solution
ubuntu@ubuntu:~$
-o-
This works with older versions of grub, so I would call it a regression.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1535458
Title:
[15.10 REGRESSION] Randomly wrongly detects files as binary
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1535458/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs