| 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 | 
|---|
| 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) | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.