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