X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=zgrep.1;h=acc319505ccfc56663f488d245610321faf21e22;hb=11ee39edb279e9ba0ae43dac2f87e555ac8a66f9;hp=ef37bd8b0660054bc496b25ecdabc8f60ad2056b;hpb=6ad498af0f32d7cf3527923f2b790c940307ffd4;p=debian%2Fgzip diff --git a/zgrep.1 b/zgrep.1 index ef37bd8..acc3195 100644 --- 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. -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. @@ -23,6 +29,8 @@ 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 AUTHOR Charles Levert (charles@comm.polymtl.ca) .SH "SEE ALSO"