diff options
author | Julian Seward <jseward@acm.org> | 2001-12-30 22:13:13 +0100 |
---|---|---|
committer | Julian Seward <jseward@acm.org> | 2001-12-30 22:13:13 +0100 |
commit | 099d844292f60f9d58914da29e5773204dc55e7a (patch) | |
tree | 04bdb38dbcd894d6fdbbc3253e216d029cade5c6 /bzgrep.1 | |
parent | 795b859eee96c700e8f3c3fe68e6a9a39d95797c (diff) | |
download | bzip2-099d844292f60f9d58914da29e5773204dc55e7a.tar.gz bzip2-099d844292f60f9d58914da29e5773204dc55e7a.tar.bz2 bzip2-099d844292f60f9d58914da29e5773204dc55e7a.zip |
bzip2-1.0.2bzip2-1.0.2
Diffstat (limited to 'bzgrep.1')
-rw-r--r-- | bzgrep.1 | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/bzgrep.1 b/bzgrep.1 new file mode 100644 index 0000000..930af8c --- /dev/null +++ b/bzgrep.1 | |||
@@ -0,0 +1,56 @@ | |||
1 | \"Shamelessly copied from zmore.1 by Philippe Troin <phil@fifi.org> | ||
2 | \"for Debian GNU/Linux | ||
3 | .TH BZGREP 1 | ||
4 | .SH NAME | ||
5 | bzgrep, bzfgrep, bzegrep \- search possibly bzip2 compressed files for a regular expression | ||
6 | .SH SYNOPSIS | ||
7 | .B bzgrep | ||
8 | [ grep_options ] | ||
9 | .BI [\ -e\ ] " pattern" | ||
10 | .IR filename ".\|.\|." | ||
11 | .br | ||
12 | .B bzegrep | ||
13 | [ egrep_options ] | ||
14 | .BI [\ -e\ ] " pattern" | ||
15 | .IR filename ".\|.\|." | ||
16 | .br | ||
17 | .B bzfgrep | ||
18 | [ fgrep_options ] | ||
19 | .BI [\ -e\ ] " pattern" | ||
20 | .IR filename ".\|.\|." | ||
21 | .SH DESCRIPTION | ||
22 | .IR Bzgrep | ||
23 | is used to invoke the | ||
24 | .I grep | ||
25 | on bzip2-compressed files. All options specified are passed directly to | ||
26 | .I grep. | ||
27 | If no file is specified, then the standard input is decompressed | ||
28 | if necessary and fed to grep. | ||
29 | Otherwise the given files are uncompressed if necessary and fed to | ||
30 | .I grep. | ||
31 | .PP | ||
32 | If | ||
33 | .I bzgrep | ||
34 | is invoked as | ||
35 | .I bzegrep | ||
36 | or | ||
37 | .I bzfgrep | ||
38 | then | ||
39 | .I egrep | ||
40 | or | ||
41 | .I fgrep | ||
42 | is used instead of | ||
43 | .I grep. | ||
44 | If the GREP environment variable is set, | ||
45 | .I bzgrep | ||
46 | uses it as the | ||
47 | .I grep | ||
48 | program to be invoked. For example: | ||
49 | |||
50 | for sh: GREP=fgrep bzgrep string files | ||
51 | for csh: (setenv GREP fgrep; bzgrep string files) | ||
52 | .SH AUTHOR | ||
53 | Charles Levert (charles@comm.polymtl.ca). Adapted to bzip2 by Philippe | ||
54 | Troin <phil@fifi.org> for Debian GNU/Linux. | ||
55 | .SH "SEE ALSO" | ||
56 | grep(1), egrep(1), fgrep(1), bzdiff(1), bzmore(1), bzless(1), bzip2(1) | ||