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

2014-12-11 Thread Jaroslav Skarvada
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 documen

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

2014-12-11 Thread Paul Eggert
Jaroslav Skarvada wrote: This new behaviour is not documented in manual page The full manual says "When matching binary data, grep may treat non-text bytes as line terminators." See: http://www.gnu.org/software/grep/manual/html_node/File-and-Directory-Selection.html [1]https://bugzilla.r