blob: 3db747b0e4a7b47f808950b1630d14c63d82fe86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
.TH ZGREP "1" "October 2009" "Zgrep 0.5" "User Commands"
.SH NAME
Zgrep \- manual page for Zgrep 0.5
.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
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"
Zfgrep is a shortcut for "zgrep \fB\-F\fR"
.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 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
.SH COPYRIGHT
Copyright \(co 2009 Antonio Diaz Diaz.
This script is free software: you have unlimited permission
to copy, distribute and modify it.
|