*** This bug is a duplicate of bug 1547466 ***
    https://bugs.launchpad.net/bugs/1547466

Are you sure this is the same as 1547466 ??

1547466 describes mode switching to binary in the middle of the file.

What I observe  is that some text files are treated as binary. I never
get an output like the one described in 1547466, where you get some
matches as expected and then the output gets interrupted in the middle
of the file with the phrase "binary file xxx matches". I always get
either the expected text-mode output for the whole file or only the
"binary match" phrase. The same files always produce the same output,
consistently.

To me this looks a lot like https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=799956 and not much like issue 1547466.

Every single file that exhibits the issue that I have examined is ISO-8859-15. 
I have only looked at a few randomly. And a few that don't exhibit the issue 
which I have looked at randomly are all UTF-8. (to look at it I use Gedit and 
do a Save As; the encoding the file is in is, or is supposed to be, selected by 
default).
However, I have created an ISO-8859-15 file from scratch from Gedit and it does 
not reproduce the issue.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to