summaryrefslogtreecommitdiffstats
path: root/doc/zgrep.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/zgrep.1')
-rw-r--r--doc/zgrep.121
1 files changed, 5 insertions, 16 deletions
diff --git a/doc/zgrep.1 b/doc/zgrep.1
index 3db747b..fc22717 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" "October 2009" "Zgrep 0.5" "User Commands"
+.TH ZGREP "1" "October 2009" "Zgrep 0.6" "User Commands"
.SH NAME
-Zgrep \- manual page for Zgrep 0.5
+Zgrep \- search compressed files for a regular expression
.SH SYNOPSIS
.B zgrep
[\fIOPTIONS\fR] [\fIGREP_OPTIONS\fR] \fIPATTERN \fR[\fIFILES\fR]
@@ -13,8 +13,9 @@ 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. If no files are
-specified, the standard input is decompressed using the selected
-compressor and fed to grep.
+specified, data is read from standard input, decompressed if needed, and
+fed to grep. Data read from standard input must be of the same type; all
+uncompressed or all compressed with the same compressor.
The supported compressors are gzip, bzip2, lzip and xz.
.PP
Zegrep is a shortcut for "zgrep \fB\-E\fR"
@@ -29,18 +30,6 @@ 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