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