bug-grep
[Top][All Lists]
Advanced

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

bug#19348: grep-2.21 cannot match patterns with NULLs in binary files


From: Jaroslav Skarvada
Subject: bug#19348: grep-2.21 cannot match patterns with NULLs in binary files
Date: Thu, 11 Dec 2014 10:31:24 -0500 (EST)

Hi,

commit 8cc20c82a747460991305b0d8d72faf6830298f4,
"grep: non-text bytes in binary data may be treated as line ends"

added optimization that NULLs are treated as line ends. This is
change of behaviour that may break other tools. Currently I know
about [1], [2]. This new behaviour is not documented in manual page,
it is only briefly mentioned in the NEWS file.

I also think that the old behaviour is useful, so command line switch
for this would be probably handy

thanks & regards

Jaroslav

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1172405
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1172804





reply via email to

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