bug-grep
[Top][All Lists]
Advanced

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

bug#51669: some patterns which should match 0x0 don’t do so


From: Christoph Anton Mitterer
Subject: bug#51669: some patterns which should match 0x0 don’t do so
Date: Mon, 08 Nov 2021 15:59:51 +0100
User-agent: Evolution 3.42.0-2

On Sun, 2021-11-07 at 23:20 -0800, Paul Eggert wrote:
> POSIX says text files cannot contain NUL bytes. They can contain 0x02
> bytes, though.

Well yes, that' clear... but at least the console output in the 0x02
case seems to imply that grep already considers it binary (and not text
file).
So I thought it would make sense to do the same if it encounters 0x00.


Anyway... thanks for your help :-)

Cheers,
Chris.





reply via email to

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