summaryrefslogtreecommitdiffstats
path: root/doc/zgrep.1
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:57:18 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:57:18 +0000
commite0310a3e54eb3ed0938c63f6df4528520b6c0e51 (patch)
tree8079176d348230619f2d1ae9dedc1f4ec27f9e61 /doc/zgrep.1
parentInitial commit. (diff)
downloadzutils-e0310a3e54eb3ed0938c63f6df4528520b6c0e51.tar.xz
zutils-e0310a3e54eb3ed0938c63f6df4528520b6c0e51.zip
Adding upstream version 0.2.upstream/0.2
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'doc/zgrep.1')
-rw-r--r--doc/zgrep.145
1 files changed, 45 insertions, 0 deletions
diff --git a/doc/zgrep.1 b/doc/zgrep.1
new file mode 100644
index 0000000..8913a96
--- /dev/null
+++ b/doc/zgrep.1
@@ -0,0 +1,45 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
+.TH ZGREP "1" "August 2009" "Zgrep 0.2" "User Commands"
+.SH NAME
+Zgrep \- manual page for Zgrep 0.2
+.SH SYNOPSIS
+.B zgrep
+[\fIOPTIONS\fR] [\fIGREP_OPTIONS\fR] \fIPATTERN \fR[\fIFILES\fR]
+.SH DESCRIPTION
+Zgrep \- Grep wrapper for compressed files.
+.PP
+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
+name corresponding to the default compressor selected. The supported
+compressors are gzip, bzip2, lzip and xz.
+.PP
+GREP_OPTIONS are passed directly to grep.
+The exit status from grep is preserved.
+.SH OPTIONS
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+display this help and exit
+.TP
+\fB\-V\fR, \fB\-\-version\fR
+output version information and exit
+.TP
+\fB\-\-gzip\fR
+use gzip as default decompressor
+.TP
+\fB\-\-bzip2\fR
+use bzip2 as default decompressor
+.TP
+\fB\-\-lzip\fR
+use lzip as default decompressor (default)
+.TP
+\fB\-\-xz\fR
+use xz as default decompressor
+.SH "REPORTING BUGS"
+Report bugs to lzip\-bug@nongnu.org
+Lzip home page: http://www.nongnu.org/lzip/lzip.html
+.SH COPYRIGHT
+Copyright \(co 2009 Antonio Diaz Diaz.
+This script is free software: you have unlimited permission
+to copy, distribute and modify it.