cnd / rpms / gzip

Forked from rpms/gzip 3 years ago
Clone

Blame SOURCES/gzip-1.5-missing-grep-options-part2.patch

f408d8
From a2c82475de5fb39e5e36586e664f7940e7daf48f Mon Sep 17 00:00:00 2001
f408d8
From: Paul Eggert <eggert@cs.ucla.edu>
f408d8
Date: Tue, 11 Jun 2013 19:43:21 -0700
f408d8
Subject: doc: zgrep exit status, unsupported options
f408d8
f408d8
* zgrep.1 (EXIT STATUS, BUGS): New sections.
f408d8
Problem reported by Bdale Garbee in
f408d8
<http://lists.gnu.org/archive/html/bug-gzip/2013-06/msg00007.html>.
f408d8
---
f408d8
 zgrep.1 | 22 ++++++++++++++++++++++
f408d8
 1 file changed, 22 insertions(+)
f408d8
f408d8
diff --git a/zgrep.1 b/zgrep.1
f408d8
index ef37bd8..dfcf21e 100644
f408d8
--- a/zgrep.1
f408d8
+++ b/zgrep.1
f408d8
@@ -23,6 +23,28 @@ If the GREP environment variable is set,
f408d8
 uses it as the
f408d8
 .I grep
f408d8
 program to be invoked.
f408d8
+.SH "EXIT STATUS"
f408d8
+Exit status is 0 for a match, 1 for no matches, and 2 if trouble.
f408d8
+.SH BUGS
f408d8
+.PP
f408d8
+The following
f408d8
+.I grep
f408d8
+options are not supported:
f408d8
+.B --dereference-recursive
f408d8
+.RB ( \-R ),
f408d8
+.B --directories
f408d8
+.RB ( \-d ),
f408d8
+.BR --exclude ,
f408d8
+.BR --exclude-from ,
f408d8
+.BR --exclude-dir ,
f408d8
+.BR --include ,
f408d8
+.B --null
f408d8
+.RB ( \-Z ),
f408d8
+.B --null-data
f408d8
+.RB ( \-z ),
f408d8
+and
f408d8
+.B --recursive
f408d8
+.RB ( \-r ).
f408d8
 .SH AUTHOR
f408d8
 Charles Levert (charles@comm.polymtl.ca)
f408d8
 .SH "SEE ALSO"
f408d8
-- 
f408d8
cgit v1.0-41-gc330
f408d8