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: Sat, 02 Jan 2016 06:39:03 +0900

On Thu, 31 Dec 2015 10:04:06 -0800
Paul Eggert <address@hidden> wrote:

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

Thanks.

By the way, why this check is applied in only multi-byte locale?  e.g.
if \200 is included in en_US.iso88591 which is not POSIX locale, I think
grep may need to return `Binary file ... matches', as mbrlen(3) returns
-1 for \200.






reply via email to

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