delete trailing whitespace from control files
[debian/gzip] / zgrep.1
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 "EXIT STATUS"
27 Exit status is 0 for a match, 1 for no matches, and 2 if trouble.
28 .SH BUGS
29 .PP
30 The following
31 .I grep
32 options are not supported:
33 .B --dereference-recursive
34 .RB ( \-R ),
35 .B --directories
36 .RB ( \-d ),
37 .BR --exclude ,
38 .BR --exclude-from ,
39 .BR --exclude-dir ,
40 .BR --include ,
41 .B --null
42 .RB ( \-Z ),
43 .B --null-data
44 .RB ( \-z ),
45 and
46 .B --recursive
47 .RB ( \-r ).
48 .SH AUTHOR
49 Charles Levert (charles@comm.polymtl.ca)
50 .SH "SEE ALSO"
51 grep(1), gzexe(1), gzip(1), zdiff(1), zforce(1), zmore(1), znew(1)