bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23844: broken: randomly detexts textf files as binary


From: Paul Eggert
Subject: bug#23844: broken: randomly detexts textf files as binary
Date: Thu, 8 Sep 2016 14:08:19 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 09/08/2016 01:58 PM, Matteo Sisti Sette wrote:
Sorry, the right url is:
http://matteosistisette.com/test/grep_bug/profile.php.gz

Whether or not the original description in the ubuntu bug was clear enough, this test case should be, right?

Yes, it's a clear test case. And it works for me with grep 2.25 (see attached transcript). So it appears that your particular bug (whatever it was) is fixed.

If you want 'grep' to output arbitrary binary data, you need to use grep's -a option. That has been true for many years (though the details about what constitutes "binary" have changed). I.e., the -a option is the only way to avoid that "Binary file matches" message in all cases.

Attachment: transcript.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]