Penguin
Annotated edit history of zgrep(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 ZGREP
2 !!!ZGREP
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 AUTHOR
7 SEE ALSO
8 ----
9 !!NAME
10
11
12 zgrep - search possibly compressed files for a regular expression
13 !!SYNOPSIS
14
15
16 __zgrep__ [[ grep_options ] __[[ -e ]__ ''pattern
17 filename''...
18 !!DESCRIPTION
19
20
21 ''Zgrep'' is used to invoke the ''grep'' on
22 compress'ed or gzip'ed files. All options specified are
23 passed directly to ''grep.'' If no file is specified,
24 then the standard input is decompressed if necessary and fed
25 to grep. Otherwise the given files are uncompressed if
26 necessary and fed to ''grep.''
27
28
29 If ''zgrep'' is invoked as ''zegrep'' or ''zfgrep''
30 then ''egrep'' or ''fgrep'' is used instead of
31 ''grep.'' If the GREP environment variable is set,
32 ''zgrep'' uses it as the ''grep'' program to be
33 invoked. For example:
34
35
36 for sh: GREP=fgrep zgrep string files for csh: (setenv GREP
37 fgrep; zgrep string files)
38 !!AUTHOR
39
40
41 Charles Levert (charles@comm.polymtl.ca)
42 !!SEE ALSO
43
44
45 grep(1), egrep(1), fgrep(1), zdiff(1), zmore(1), znew(1),
46 zforce(1), gzip(1), gzexe(1)
47 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.