source: trunk/minix/commands/bzip2-1.0.3/bzgrep.1@ 12

Last change on this file since 12 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 1.3 KB
Line 
1\"Shamelessly copied from zmore.1 by Philippe Troin <phil@fifi.org>
2\"for Debian GNU/Linux
3.TH BZGREP 1
4.SH NAME
5bzgrep, 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
23is used to invoke the
24.I grep
25on bzip2-compressed files. All options specified are passed directly to
26.I grep.
27If no file is specified, then the standard input is decompressed
28if necessary and fed to grep.
29Otherwise the given files are uncompressed if necessary and fed to
30.I grep.
31.PP
32If
33.I bzgrep
34is invoked as
35.I bzegrep
36or
37.I bzfgrep
38then
39.I egrep
40or
41.I fgrep
42is used instead of
43.I grep.
44If the GREP environment variable is set,
45.I bzgrep
46uses it as the
47.I grep
48program 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
53Charles Levert (charles@comm.polymtl.ca). Adapted to bzip2 by Philippe
54Troin <phil@fifi.org> for Debian GNU/Linux.
55.SH "SEE ALSO"
56grep(1), egrep(1), fgrep(1), bzdiff(1), bzmore(1), bzless(1), bzip2(1)
Note: See TracBrowser for help on using the repository browser.