~ubuntu-branches/ubuntu/raring/clamav/raring-updates

« back to all changes in this revision

Viewing changes to win32/3rdparty/bzip2/bzgrep.1

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2011-06-18 11:56:34 UTC
  • mfrom: (0.35.21 sid)
  • Revision ID: james.westby@ubuntu.com-20110618115634-u2lovivet0qx34d0
Tags: 0.97.1+dfsg-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop build-dep on electric-fence (in Universe)
  - Add apparmor profiles for clamd and freshclam along with maintainer
    script changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
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)