[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: zgrep man page improvement
From: |
Paul Eggert |
Subject: |
Re: zgrep man page improvement |
Date: |
Tue, 11 Jun 2013 19:45:50 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 |
Thanks, I applied this somewhat-different patch instead:
>From a4097fdd12999f69a53ea09d170447f3896d5e12 Mon Sep 17 00:00:00 2001
From: Paul Eggert <address@hidden>
Date: Tue, 11 Jun 2013 19:43:21 -0700
Subject: [PATCH] doc: zgrep exit status, unsupported options
* zgrep.1 (EXIT STATUS, BUGS): New sections.
Problem reported by Bdale Garbee in
<http://lists.gnu.org/archive/html/bug-gzip/2013-06/msg00007.html>.
---
zgrep.1 | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/zgrep.1 b/zgrep.1
index ef37bd8..dfcf21e 100644
--- a/zgrep.1
+++ b/zgrep.1
@@ -23,6 +23,28 @@ If the GREP environment variable is set,
uses it as the
.I grep
program to be invoked.
+.SH "EXIT STATUS"
+Exit status is 0 for a match, 1 for no matches, and 2 if trouble.
+.SH BUGS
+.PP
+The following
+.I grep
+options are not supported:
+.B --dereference-recursive
+.RB ( \-R ),
+.B --directories
+.RB ( \-d ),
+.BR --exclude ,
+.BR --exclude-from ,
+.BR --exclude-dir ,
+.BR --include ,
+.B --null
+.RB ( \-Z ),
+.B --null-data
+.RB ( \-z ),
+and
+.B --recursive
+.RB ( \-r ).
.SH AUTHOR
Charles Levert (address@hidden)
.SH "SEE ALSO"
--
1.7.11.7