On Wed, 7 Feb 2007, Don Zickus wrote:
And I thought I had a handle on a lot of the Unix commands. That -z
stuff just threw me for a loop. It's pretty neat to be able to grep
commits and have the output display the whole commit and diff.
The whole "-z" flag to grep is a GNU extension, as far as I know. I don't
think it's portable.
Even for GNU grep, it's not mentioned in the man-page. Whether that is
just due to the normal inane FSF rules ("man-pages are evil, you should
use those idiotic info pages") or whether it is a conscious effort to not
document nonstandard features, I don't know.
Linus