1ZGREP(1) General Commands Manual ZGREP(1)
2
3
4
6 zgrep - search possibly compressed files for a regular expression
7
9 zgrep [ grep_options ] [ -e ] pattern filename...
10
12 Zgrep invokes grep on compressed or gzipped files. All options speci‐
13 fied are passed directly to grep. If no file is specified, then the
14 standard input is decompressed if necessary and fed to grep. Otherwise
15 the given files are uncompressed if necessary and fed to grep.
16
17 If the GREP environment variable is set, zgrep uses it as the grep pro‐
18 gram to be invoked.
19
21 Charles Levert (charles@comm.polymtl.ca)
22
24 grep(1), gzexe(1), gzip(1), zdiff(1), zforce(1), zmore(1), znew(1)
25
26
27
28 ZGREP(1)