X-Git-Url: https://git.gag.com/?p=debian%2Fgzip;a=blobdiff_plain;f=zgrep.1;h=dfcf21ef22592b1b45b83579a28bae01ff91f19a;hp=acc319505ccfc56663f488d245610321faf21e22;hb=659cae49714b93487242525dfa0e5737463d78d8;hpb=11ee39edb279e9ba0ae43dac2f87e555ac8a66f9 diff --git a/zgrep.1 b/zgrep.1 index acc3195..dfcf21e 100644 --- a/zgrep.1 +++ b/zgrep.1 @@ -11,13 +11,7 @@ zgrep \- search possibly compressed files for a regular expression invokes .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 +All 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. @@ -29,8 +23,28 @@ If the GREP environment variable is set, uses it as the .I grep program to be invoked. -.SH EXIT CODE -2 - An option that is not supported was specified. +.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 (charles@comm.polymtl.ca) .SH "SEE ALSO"