Rev | Line | |
---|
[3325] | 1 | .TH ZGREP 1
|
---|
| 2 | .SH NAME
|
---|
| 3 | zgrep \- search possibly compressed files for a regular expression
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | .B zgrep
|
---|
| 6 | [ grep_options ]
|
---|
| 7 | .BI [\ -e\ ] " pattern"
|
---|
| 8 | .IR filename ".\|.\|."
|
---|
| 9 | .SH DESCRIPTION
|
---|
| 10 | .I Zgrep
|
---|
| 11 | invokes
|
---|
| 12 | .I grep
|
---|
| 13 | on compressed or gzipped files.
|
---|
| 14 | All options specified are passed directly to
|
---|
| 15 | .IR grep .
|
---|
| 16 | If no file is specified, then the standard input is decompressed
|
---|
| 17 | if necessary and fed to grep.
|
---|
| 18 | Otherwise the given files are uncompressed if necessary and fed to
|
---|
| 19 | .IR grep .
|
---|
| 20 | .PP
|
---|
| 21 | If the GREP environment variable is set,
|
---|
| 22 | .I zgrep
|
---|
| 23 | uses it as the
|
---|
| 24 | .I grep
|
---|
| 25 | program to be invoked.
|
---|
| 26 | .SH AUTHOR
|
---|
| 27 | Charles Levert (charles@comm.polymtl.ca)
|
---|
| 28 | .SH "SEE ALSO"
|
---|
| 29 | grep(1), gzexe(1), gzip(1), zdiff(1), zforce(1), zmore(1), znew(1)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.