On 9/11/18 10:03 AM, Eric Blake wrote:
maybe we really do have a bug - when -z is in effect, I'd expect NUL, rather than newline, to be the byte that separates separate patterns in the pattern argument

You're right, I think it's a bug that grep -zf FILE uses newline separators in FILE. It should use NUL separators.

This cannot be done for NUL bytes in command-line patterns, though, since command-line arguments cannot contain NUL bytes.




Reply via email to