Mercurial > hg > sv-dependency-builds
annotate src/bzip2-1.0.6/bzgrep.1 @ 169:223a55898ab9 tip default
Add null config files
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Mon, 02 Mar 2020 14:03:47 +0000 |
parents | 8a15ff55d9af |
children |
rev | line source |
---|---|
cannam@89 | 1 \"Shamelessly copied from zmore.1 by Philippe Troin <phil@fifi.org> |
cannam@89 | 2 \"for Debian GNU/Linux |
cannam@89 | 3 .TH BZGREP 1 |
cannam@89 | 4 .SH NAME |
cannam@89 | 5 bzgrep, bzfgrep, bzegrep \- search possibly bzip2 compressed files for a regular expression |
cannam@89 | 6 .SH SYNOPSIS |
cannam@89 | 7 .B bzgrep |
cannam@89 | 8 [ grep_options ] |
cannam@89 | 9 .BI [\ -e\ ] " pattern" |
cannam@89 | 10 .IR filename ".\|.\|." |
cannam@89 | 11 .br |
cannam@89 | 12 .B bzegrep |
cannam@89 | 13 [ egrep_options ] |
cannam@89 | 14 .BI [\ -e\ ] " pattern" |
cannam@89 | 15 .IR filename ".\|.\|." |
cannam@89 | 16 .br |
cannam@89 | 17 .B bzfgrep |
cannam@89 | 18 [ fgrep_options ] |
cannam@89 | 19 .BI [\ -e\ ] " pattern" |
cannam@89 | 20 .IR filename ".\|.\|." |
cannam@89 | 21 .SH DESCRIPTION |
cannam@89 | 22 .IR Bzgrep |
cannam@89 | 23 is used to invoke the |
cannam@89 | 24 .I grep |
cannam@89 | 25 on bzip2-compressed files. All options specified are passed directly to |
cannam@89 | 26 .I grep. |
cannam@89 | 27 If no file is specified, then the standard input is decompressed |
cannam@89 | 28 if necessary and fed to grep. |
cannam@89 | 29 Otherwise the given files are uncompressed if necessary and fed to |
cannam@89 | 30 .I grep. |
cannam@89 | 31 .PP |
cannam@89 | 32 If |
cannam@89 | 33 .I bzgrep |
cannam@89 | 34 is invoked as |
cannam@89 | 35 .I bzegrep |
cannam@89 | 36 or |
cannam@89 | 37 .I bzfgrep |
cannam@89 | 38 then |
cannam@89 | 39 .I egrep |
cannam@89 | 40 or |
cannam@89 | 41 .I fgrep |
cannam@89 | 42 is used instead of |
cannam@89 | 43 .I grep. |
cannam@89 | 44 If the GREP environment variable is set, |
cannam@89 | 45 .I bzgrep |
cannam@89 | 46 uses it as the |
cannam@89 | 47 .I grep |
cannam@89 | 48 program to be invoked. For example: |
cannam@89 | 49 |
cannam@89 | 50 for sh: GREP=fgrep bzgrep string files |
cannam@89 | 51 for csh: (setenv GREP fgrep; bzgrep string files) |
cannam@89 | 52 .SH AUTHOR |
cannam@89 | 53 Charles Levert (charles@comm.polymtl.ca). Adapted to bzip2 by Philippe |
cannam@89 | 54 Troin <phil@fifi.org> for Debian GNU/Linux. |
cannam@89 | 55 .SH "SEE ALSO" |
cannam@89 | 56 grep(1), egrep(1), fgrep(1), bzdiff(1), bzmore(1), bzless(1), bzip2(1) |