From 096f9ef53b08c9e982d7026efbd4567a5ba0fd03 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 19 Sep 2001 07:22:30 +0000 Subject: [PATCH] In FreeBSD, -Z is reserved for zgrep(1), and only a long version of the --null option is supported. PR: gnu/30644 --- gnu/usr.bin/grep/grep.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/grep/grep.1 b/gnu/usr.bin/grep/grep.1 index ea558a5c64e..74682c1f160 100644 --- a/gnu/usr.bin/grep/grep.1 +++ b/gnu/usr.bin/grep/grep.1 @@ -324,12 +324,12 @@ Select only those matches that exactly match the whole line. Obsolete synonym for .BR \-i . .TP -.BR \-Z ", " \-\^\-null +.B \-\^\-null Output a zero byte (the \s-1ASCII\s0 .B NUL character) instead of the character that normally follows a file name. For example, -.B "grep \-lZ" +.B "grep \-l \-\^\-null" outputs a zero byte after each file name instead of the usual newline. This option makes the output unambiguous, even in the presence of file names containing unusual characters like newlines. This option can be