bug-grep
[Top][All Lists]
Advanced

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

bug#20526: grep BUG: text file is detected as binary


From: Paul Eggert
Subject: bug#20526: grep BUG: text file is detected as binary
Date: Thu, 31 Dec 2015 10:04:06 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

Norihiro Tanaka wrote:
I get following output after apply the patch.  Is it expected?

$ printf 'a\na\377\na\n' | LANG=en_US.utf8 src/grep a
a
Binary file (standard input) matches

Yes, it's expected. Thanks, this should be stated more clearly, so I installed the attached documentation patch.

Attachment: 0001-doc-clarify-text-vs-binary-match-output.patch
Description: Text Data


reply via email to

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