Chris@4: \"Shamelessly copied from zmore.1 by Philippe Troin Chris@4: \"for Debian GNU/Linux Chris@4: .TH BZGREP 1 Chris@4: .SH NAME Chris@4: bzgrep, bzfgrep, bzegrep \- search possibly bzip2 compressed files for a regular expression Chris@4: .SH SYNOPSIS Chris@4: .B bzgrep Chris@4: [ grep_options ] Chris@4: .BI [\ -e\ ] " pattern" Chris@4: .IR filename ".\|.\|." Chris@4: .br Chris@4: .B bzegrep Chris@4: [ egrep_options ] Chris@4: .BI [\ -e\ ] " pattern" Chris@4: .IR filename ".\|.\|." Chris@4: .br Chris@4: .B bzfgrep Chris@4: [ fgrep_options ] Chris@4: .BI [\ -e\ ] " pattern" Chris@4: .IR filename ".\|.\|." Chris@4: .SH DESCRIPTION Chris@4: .IR Bzgrep Chris@4: is used to invoke the Chris@4: .I grep Chris@4: on bzip2-compressed files. All options specified are passed directly to Chris@4: .I grep. Chris@4: If no file is specified, then the standard input is decompressed Chris@4: if necessary and fed to grep. Chris@4: Otherwise the given files are uncompressed if necessary and fed to Chris@4: .I grep. Chris@4: .PP Chris@4: If Chris@4: .I bzgrep Chris@4: is invoked as Chris@4: .I bzegrep Chris@4: or Chris@4: .I bzfgrep Chris@4: then Chris@4: .I egrep Chris@4: or Chris@4: .I fgrep Chris@4: is used instead of Chris@4: .I grep. Chris@4: If the GREP environment variable is set, Chris@4: .I bzgrep Chris@4: uses it as the Chris@4: .I grep Chris@4: program to be invoked. For example: Chris@4: Chris@4: for sh: GREP=fgrep bzgrep string files Chris@4: for csh: (setenv GREP fgrep; bzgrep string files) Chris@4: .SH AUTHOR Chris@4: Charles Levert (charles@comm.polymtl.ca). Adapted to bzip2 by Philippe Chris@4: Troin for Debian GNU/Linux. Chris@4: .SH "SEE ALSO" Chris@4: grep(1), egrep(1), fgrep(1), bzdiff(1), bzmore(1), bzless(1), bzip2(1)