summaryrefslogtreecommitdiffstats
path: root/doc/zgrep.1
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/zgrep.120
1 files changed, 17 insertions, 3 deletions
diff --git a/doc/zgrep.1 b/doc/zgrep.1
index fadbbc0..3db747b 100644
--- a/doc/zgrep.1
+++ b/doc/zgrep.1
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
-.TH ZGREP "1" "September 2009" "Zgrep 0.4" "User Commands"
+.TH ZGREP "1" "October 2009" "Zgrep 0.5" "User Commands"
.SH NAME
-Zgrep \- manual page for Zgrep 0.4
+Zgrep \- manual page for Zgrep 0.5
.SH SYNOPSIS
.B zgrep
[\fIOPTIONS\fR] [\fIGREP_OPTIONS\fR] \fIPATTERN \fR[\fIFILES\fR]
@@ -12,7 +12,9 @@ Zgrep is a wrapper script around the grep command that allows
transparent search on any combination of compressed and non\-compressed
files. If any given file is compressed, its uncompressed content is
used. If a given file does not exist, zgrep tries the compressed file
-names corresponding to the supported compressors.
+names corresponding to the supported compressors. If no files are
+specified, the standard input is decompressed using the selected
+compressor and fed to grep.
The supported compressors are gzip, bzip2, lzip and xz.
.PP
Zegrep is a shortcut for "zgrep \fB\-E\fR"
@@ -27,6 +29,18 @@ display this help and exit
.TP
\fB\-V\fR, \fB\-\-version\fR
output version information and exit
+.TP
+\fB\-\-gzip\fR
+use gzip as decompressor for stdin (default)
+.TP
+\fB\-\-bzip2\fR
+use bzip2 as decompressor for stdin
+.TP
+\fB\-\-lzip\fR
+use lzip as decompressor for stdin
+.TP
+\fB\-\-xz\fR
+use xz as decompressor for stdin
.SH "REPORTING BUGS"
Report bugs to zutils\-bug@nongnu.org
Zutils home page: http://www.nongnu.org/zutils/zutils.html