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 a52a88abcf802802bc4d1729bdba60c776e4af3b..acc319505ccfc56663f488d245610321faf21e22 100644
(file)
--- a/
zgrep.1
+++ b/
zgrep.1
@@
-7,38
+7,31
@@
zgrep \- search possibly compressed files for a regular expression
.BI [\ -e\ ] " pattern"
.IR filename ".\|.\|."
.SH DESCRIPTION
.BI [\ -e\ ] " pattern"
.IR filename ".\|.\|."
.SH DESCRIPTION
-.I
R
Zgrep
-i
s used to invoke the
+.I Zgrep
+i
nvokes
.I grep
.I grep
-on compress'ed or gzip'ed files. All options specified are passed directly to
-.I grep.
+on compressed or gzipped files.
+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.
Otherwise the given files are uncompressed if necessary and fed to
If no file is specified, then the standard input is decompressed
if necessary and fed to grep.
Otherwise the given files are uncompressed if necessary and fed to
-.I
grep
.
+.I
R grep
.
.PP
.PP
-If
-.I zgrep
-is invoked as
-.I zegrep
-or
-.I zfgrep
-then
-.I egrep
-or
-.I fgrep
-is used instead of
-.I grep.
If the GREP environment variable is set,
.I zgrep
uses it as the
.I grep
If the GREP environment variable is set,
.I zgrep
uses it as the
.I grep
-program to be invoked. For example:
-
- for sh: GREP=fgrep zgrep string files
- for csh: (setenv GREP fgrep; zgrep string files)
+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"
-grep(1), egrep(1), fgrep(1), zdiff(1), zmore(1), znew(1), zforce(1),
-gzip(1), gzexe(1)
+grep(1), gzexe(1), gzip(1), zdiff(1), zforce(1), zmore(1), znew(1)