annotate src/bzip2-1.0.6/bzgrep.1 @ 83:ae30d91d2ffe

Replace these with versions built using an older toolset (so as to avoid ABI compatibilities when linking on Ubuntu 14.04 for packaging purposes)
author Chris Cannam
date Fri, 07 Feb 2020 11:51:13 +0000
parents e13257ea84a4
children
rev   line source
Chris@4 1 \"Shamelessly copied from zmore.1 by Philippe Troin <phil@fifi.org>
Chris@4 2 \"for Debian GNU/Linux
Chris@4 3 .TH BZGREP 1
Chris@4 4 .SH NAME
Chris@4 5 bzgrep, bzfgrep, bzegrep \- search possibly bzip2 compressed files for a regular expression
Chris@4 6 .SH SYNOPSIS
Chris@4 7 .B bzgrep
Chris@4 8 [ grep_options ]
Chris@4 9 .BI [\ -e\ ] " pattern"
Chris@4 10 .IR filename ".\|.\|."
Chris@4 11 .br
Chris@4 12 .B bzegrep
Chris@4 13 [ egrep_options ]
Chris@4 14 .BI [\ -e\ ] " pattern"
Chris@4 15 .IR filename ".\|.\|."
Chris@4 16 .br
Chris@4 17 .B bzfgrep
Chris@4 18 [ fgrep_options ]
Chris@4 19 .BI [\ -e\ ] " pattern"
Chris@4 20 .IR filename ".\|.\|."
Chris@4 21 .SH DESCRIPTION
Chris@4 22 .IR Bzgrep
Chris@4 23 is used to invoke the
Chris@4 24 .I grep
Chris@4 25 on bzip2-compressed files. All options specified are passed directly to
Chris@4 26 .I grep.
Chris@4 27 If no file is specified, then the standard input is decompressed
Chris@4 28 if necessary and fed to grep.
Chris@4 29 Otherwise the given files are uncompressed if necessary and fed to
Chris@4 30 .I grep.
Chris@4 31 .PP
Chris@4 32 If
Chris@4 33 .I bzgrep
Chris@4 34 is invoked as
Chris@4 35 .I bzegrep
Chris@4 36 or
Chris@4 37 .I bzfgrep
Chris@4 38 then
Chris@4 39 .I egrep
Chris@4 40 or
Chris@4 41 .I fgrep
Chris@4 42 is used instead of
Chris@4 43 .I grep.
Chris@4 44 If the GREP environment variable is set,
Chris@4 45 .I bzgrep
Chris@4 46 uses it as the
Chris@4 47 .I grep
Chris@4 48 program to be invoked. For example:
Chris@4 49
Chris@4 50 for sh: GREP=fgrep bzgrep string files
Chris@4 51 for csh: (setenv GREP fgrep; bzgrep string files)
Chris@4 52 .SH AUTHOR
Chris@4 53 Charles Levert (charles@comm.polymtl.ca). Adapted to bzip2 by Philippe
Chris@4 54 Troin <phil@fifi.org> for Debian GNU/Linux.
Chris@4 55 .SH "SEE ALSO"
Chris@4 56 grep(1), egrep(1), fgrep(1), bzdiff(1), bzmore(1), bzless(1), bzip2(1)