|
1 '\" t |
|
2 .\" |
|
3 .\" |
|
4 \"Shamelessly copied from zmore.1 by Philippe Troin <[email protected]> |
|
5 \"for Debian GNU/Linux |
|
6 .TH BZGREP 1 |
|
7 .SH NAME |
|
8 bzgrep, bzfgrep, bzegrep \- search possibly bzip2 compressed files for a regular expression |
|
9 .SH SYNOPSIS |
|
10 .B bzgrep |
|
11 [ grep_options ] |
|
12 .BI [\ -e\ ] " pattern" |
|
13 .IR filename ".\|.\|." |
|
14 .br |
|
15 .B bzegrep |
|
16 [ egrep_options ] |
|
17 .BI [\ -e\ ] " pattern" |
|
18 .IR filename ".\|.\|." |
|
19 .br |
|
20 .B bzfgrep |
|
21 [ fgrep_options ] |
|
22 .BI [\ -e\ ] " pattern" |
|
23 .IR filename ".\|.\|." |
|
24 .SH DESCRIPTION |
|
25 .IR Bzgrep |
|
26 is used to invoke the |
|
27 .I grep |
|
28 on bzip2-compressed files. All options specified are passed directly to |
|
29 .I grep. |
|
30 If no file is specified, then the standard input is decompressed |
|
31 if necessary and fed to grep. |
|
32 Otherwise the given files are uncompressed if necessary and fed to |
|
33 .I grep. |
|
34 .PP |
|
35 If |
|
36 .I bzgrep |
|
37 is invoked as |
|
38 .I bzegrep |
|
39 or |
|
40 .I bzfgrep |
|
41 then |
|
42 .I egrep |
|
43 or |
|
44 .I fgrep |
|
45 is used instead of |
|
46 .I grep. |
|
47 If the GREP environment variable is set, |
|
48 .I bzgrep |
|
49 uses it as the |
|
50 .I grep |
|
51 program to be invoked. For example: |
|
52 |
|
53 for sh: GREP=fgrep bzgrep string files |
|
54 for csh: (setenv GREP fgrep; bzgrep string files) |
|
55 .SH AUTHOR |
|
56 Charles Levert ([email protected]). Adapted to bzip2 by Philippe |
|
57 Troin <[email protected]> for Debian GNU/Linux. |
|
58 .SH ATTRIBUTES |
|
59 See |
|
60 .BR attributes (5) |
|
61 for descriptions of the following attributes: |
|
62 .sp |
|
63 .TS |
|
64 box; |
|
65 cbp-1 | cbp-1 |
|
66 l | l . |
|
67 ATTRIBUTE TYPE ATTRIBUTE VALUE |
|
68 = |
|
69 Availability compress/bzip2 |
|
70 = |
|
71 Interface Stability Committed |
|
72 .TE |
|
73 .PP |
|
74 .SH "SEE ALSO" |
|
75 grep(1), egrep(1), fgrep(1), bzdiff(1), bzmore(1), bzless(1), bzip2(1) |