summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-09-19 07:22:30 +0000
committerru <ru@FreeBSD.org>2001-09-19 07:22:30 +0000
commitde49b782662799d33adbe3450f5c4cbdb697a7f0 (patch)
tree6d375f61a0014006e2ac519d5671573d3766fbfd /gnu
parent188db05e74851a3daea81db61b2188d74b24cae2 (diff)
downloadFreeBSD-src-de49b782662799d33adbe3450f5c4cbdb697a7f0.zip
FreeBSD-src-de49b782662799d33adbe3450f5c4cbdb697a7f0.tar.gz
In FreeBSD, -Z is reserved for zgrep(1), and only
a long version of the --null option is supported. PR: gnu/30644
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/grep/grep.14
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/grep/grep.1 b/gnu/usr.bin/grep/grep.1
index ea558a5..74682c1 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
OpenPOWER on IntegriCloud