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: Norihiro Tanaka
Subject: bug#20526: grep BUG: text file is detected as binary
Date: Fri, 01 Jan 2016 00:23:11 +0900

On Wed, 30 Dec 2015 19:25:04 -0800
Paul Eggert <address@hidden> wrote:

> I installed into Savannah a patch (attached) that should fix this
> problem in typical cases, and am boldly marking the bug as done.
> Please give the fix a try if you have the time. Thanks.

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







reply via email to

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