1 .\" $NetBSD: bzgrep.1,v 1.1.1.1 2012/05/07 00:21:46 wiz Exp $
3 \"Shamelessly copied from zmore.1 by Philippe Troin <phil@fifi.org>
7 bzgrep, bzfgrep, bzegrep \- search possibly bzip2 compressed files for a regular expression
11 .BI [\ -e\ ] " pattern"
12 .IR filename ".\|.\|."
16 .BI [\ -e\ ] " pattern"
17 .IR filename ".\|.\|."
21 .BI [\ -e\ ] " pattern"
22 .IR filename ".\|.\|."
27 on bzip2-compressed files. All options specified are passed directly to
29 If no file is specified, then the standard input is decompressed
30 if necessary and fed to grep.
31 Otherwise the given files are uncompressed if necessary and fed to
46 If the GREP environment variable is set,
50 program to be invoked. For example:
52 for sh: GREP=fgrep bzgrep string files
53 for csh: (setenv GREP fgrep; bzgrep string files)
55 Charles Levert (charles@comm.polymtl.ca). Adapted to bzip2 by Philippe
56 Troin <phil@fifi.org> for Debian GNU/Linux.
58 grep(1), egrep(1), fgrep(1), bzdiff(1), bzmore(1), bzless(1), bzip2(1)