man-pages/man1/bzgrep.1.html
2021-03-31 01:06:50 +01:00

114 lines
2.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of BZGREP</TITLE>
</HEAD><BODY>
<H1>BZGREP</H1>
Section: User Commands (1)<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
bzgrep, bzfgrep, bzegrep - search possibly bzip2 compressed files for a regular expression
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>bzgrep</B>
[ grep_options ]
<B>[&nbsp;-e&nbsp;]</B><I> pattern</I>
<I>filename</I>...
<BR>
<B>bzegrep</B>
[ egrep_options ]
<B>[&nbsp;-e&nbsp;]</B><I> pattern</I>
<I>filename</I>...
<BR>
<B>bzfgrep</B>
[ fgrep_options ]
<B>[&nbsp;-e&nbsp;]</B><I> pattern</I>
<I>filename</I>...
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<I>Bzgrep</I>
is used to invoke the
<I>grep</I>
on bzip2-compressed files. All options specified are passed directly to
<I>grep.</I>
If no file is specified, then the standard input is decompressed
if necessary and fed to grep.
Otherwise the given files are uncompressed if necessary and fed to
<I>grep.</I>
<P>
If
<I>bzgrep</I>
is invoked as
<I>bzegrep</I>
or
<I>bzfgrep</I>
then
<I>egrep</I>
or
<I>fgrep</I>
is used instead of
<I>grep.</I>
If the GREP environment variable is set,
<I>bzgrep</I>
uses it as the
<I>grep</I>
program to be invoked. For example:
<P>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;sh:&nbsp;&nbsp;GREP=fgrep&nbsp;&nbsp;bzgrep&nbsp;string&nbsp;files
<BR>&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;csh:&nbsp;(setenv&nbsp;GREP&nbsp;fgrep;&nbsp;bzgrep&nbsp;string&nbsp;files)
<A NAME="lbAE">&nbsp;</A>
<H2>AUTHOR</H2>
Charles Levert (<A HREF="mailto:charles@comm.polymtl.ca">charles@comm.polymtl.ca</A>). Adapted to bzip2 by Philippe
Troin &lt;<A HREF="mailto:phil@fifi.org">phil@fifi.org</A>&gt; for Debian GNU/Linux.
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<A HREF="/cgi-bin/man/man2html?1+grep">grep</A>(1), <A HREF="/cgi-bin/man/man2html?1+egrep">egrep</A>(1), <A HREF="/cgi-bin/man/man2html?1+fgrep">fgrep</A>(1), <A HREF="/cgi-bin/man/man2html?1+bzdiff">bzdiff</A>(1), <A HREF="/cgi-bin/man/man2html?1+bzmore">bzmore</A>(1), <A HREF="/cgi-bin/man/man2html?1+bzless">bzless</A>(1), <A HREF="/cgi-bin/man/man2html?1+bzip2">bzip2</A>(1)
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">AUTHOR</A><DD>
<DT id="5"><A HREF="#lbAF">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:08 GMT, March 31, 2021
</BODY>
</HTML>