projects
/
debian
/
gzip
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
things we used to override (use of hardlinks, etc) aren't necessary any more
[debian/gzip]
/
zgrep.1
diff --git
a/zgrep.1
b/zgrep.1
index ef37bd8b0660054bc496b25ecdabc8f60ad2056b..acc319505ccfc56663f488d245610321faf21e22 100644
(file)
--- a/
zgrep.1
+++ b/
zgrep.1
@@
-11,7
+11,13
@@
zgrep \- search possibly compressed files for a regular expression
invokes
.I grep
on compressed or gzipped files.
invokes
.I grep
on compressed or gzipped files.
-All options specified are passed directly to
+These
+.I grep
+options will cause
+.I zgrep
+to terminate with an error code:
+.BI (-[drRzZ] | --di* | --exc* | --inc* | --rec* | --nu*) .
+All other options specified are passed directly to
.IR grep .
If no file is specified, then the standard input is decompressed
if necessary and fed to grep.
.IR grep .
If no file is specified, then the standard input is decompressed
if necessary and fed to grep.
@@
-23,6
+29,8
@@
If the GREP environment variable is set,
uses it as the
.I grep
program to be invoked.
uses it as the
.I grep
program to be invoked.
+.SH EXIT CODE
+2 - An option that is not supported was specified.
.SH AUTHOR
Charles Levert (charles@comm.polymtl.ca)
.SH "SEE ALSO"
.SH AUTHOR
Charles Levert (charles@comm.polymtl.ca)
.SH "SEE ALSO"