Well, I have wily and I am observing this bug all the time (starting
from a few months ago), or at least I was told that what I'm observing
was a duplicate of this bug.

What I see is that when I grep text files, randomly (but the same files will 
consistently produce the same results) text files are processed like binary 
files, meaning that the output is
  Binary file xxxx.txt matches 
rather than the line of text with the match.

Most of the times, text files that are incorrectly processed as binary
are ISO-8859-whatever encoded while files that are matched like text as
expected are utf8-encoded (my locale is utf8). However, I tried with two
files I created from scratch, one utf-8 and the other iso-8859, and I
couldn't reproduce the issue at will.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1547466

Title:
  grep switches into binary mode while processing a text file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1547466/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to