1
2
3BZGREP(1) General Commands Manual BZGREP(1)
4
5
6
8 bzgrep, bzfgrep, bzegrep - search possibly bzip2 compressed files for a
9 regular expression
10
12 bzgrep [ grep_options ] [ -e ] pattern filename...
13 bzegrep [ egrep_options ] [ -e ] pattern filename...
14 bzfgrep [ fgrep_options ] [ -e ] pattern filename...
15
17 Bzgrep is used to invoke the grep on bzip2-compressed files. All
18 options specified are passed directly to grep. If no file is speciā
19 fied, then the standard input is decompressed if necessary and fed to
20 grep. Otherwise the given files are uncompressed if necessary and fed
21 to grep.
22
23 If bzgrep is invoked as bzegrep or bzfgrep then egrep or fgrep is used
24 instead of grep. If the GREP environment variable is set, bzgrep uses
25 it as the grep program to be invoked. For example:
26
27 for sh: GREP=fgrep bzgrep string files
28 for csh: (setenv GREP fgrep; bzgrep string files)
29
31 Charles Levert (charles@comm.polymtl.ca). Adapted to bzip2 by Philippe
32 Troin <phil@fifi.org> for Debian GNU/Linux.
33
35 grep(1), egrep(1), fgrep(1), bzdiff(1), bzmore(1), bzless(1), bzip2(1)
36
37
38
39 BZGREP(1)