2025-02-24 04:42:45 +01:00
|
|
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
|
2025-02-24 04:59:04 +01:00
|
|
|
.TH ZGREP "1" "December 2009" "Zgrep (zutils) 0.8-rc1" "User Commands"
|
2025-02-24 04:42:45 +01:00
|
|
|
.SH NAME
|
2025-02-24 04:57:56 +01:00
|
|
|
Zgrep \- search compressed files for a regular expression
|
2025-02-24 04:42:45 +01:00
|
|
|
.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
|
2025-02-24 04:57:21 +01:00
|
|
|
names corresponding to the supported compressors. If no files are
|
2025-02-24 04:57:56 +01:00
|
|
|
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.
|
2025-02-24 04:58:36 +01:00
|
|
|
The supported compressors are bzip2, gzip, lzip and xz.
|
2025-02-24 04:42:45 +01:00
|
|
|
.PP
|
2025-02-24 04:51:33 +01:00
|
|
|
Zegrep is a shortcut for "zgrep \fB\-E\fR"
|
|
|
|
Zfgrep is a shortcut for "zgrep \fB\-F\fR"
|
|
|
|
.PP
|
2025-02-24 04:42:45 +01:00
|
|
|
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
|
|
|
|
.SH "REPORTING BUGS"
|
2025-02-24 04:44:01 +01:00
|
|
|
Report bugs to zutils\-bug@nongnu.org
|
|
|
|
Zutils home page: http://www.nongnu.org/zutils/zutils.html
|
2025-02-24 04:42:45 +01:00
|
|
|
.SH COPYRIGHT
|
|
|
|
Copyright \(co 2009 Antonio Diaz Diaz.
|
|
|
|
This script is free software: you have unlimited permission
|
|
|
|
to copy, distribute and modify it.
|