summaryrefslogtreecommitdiffstats
path: root/doc/zgrep.1
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 16:11:40 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 16:11:40 +0000
commit1d1dc8b97e1cc23b97c1a8053020ce61a0cd1e84 (patch)
treed8f3bdaa398a4228bda811cc30525e16d29987f2 /doc/zgrep.1
parentAdding debian version 0.4-1. (diff)
downloadzutils-1d1dc8b97e1cc23b97c1a8053020ce61a0cd1e84.tar.xz
zutils-1d1dc8b97e1cc23b97c1a8053020ce61a0cd1e84.zip
Merging upstream version 0.5.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'doc/zgrep.1')
-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