On 11/20/16, Paul Eggert <egg...@cs.ucla.edu> wrote: > The man page says that -z is about "input and output data",
The man page that ships with grep 2.25 says about -z, in its entirety: Treat the input as a set of lines, each terminated by a zero byte (the ASCII NUL character) instead of a newline. Like the -Z or --null option, this option can be used with commands like sort -z to process arbitrary file names. I'm pleased this appears to be fixed in later releases.