114 lines
2.6 KiB
HTML
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"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
bzgrep, bzfgrep, bzegrep - search possibly bzip2 compressed files for a regular expression
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>bzgrep</B>
|
|
|
|
[ grep_options ]
|
|
<B>[ -e ]</B><I> pattern</I>
|
|
|
|
<I>filename</I>...
|
|
|
|
<BR>
|
|
|
|
<B>bzegrep</B>
|
|
|
|
[ egrep_options ]
|
|
<B>[ -e ]</B><I> pattern</I>
|
|
|
|
<I>filename</I>...
|
|
|
|
<BR>
|
|
|
|
<B>bzfgrep</B>
|
|
|
|
[ fgrep_options ]
|
|
<B>[ -e ]</B><I> pattern</I>
|
|
|
|
<I>filename</I>...
|
|
|
|
<A NAME="lbAD"> </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> for sh: GREP=fgrep bzgrep string files
|
|
<BR> for csh: (setenv GREP fgrep; bzgrep string files)
|
|
<A NAME="lbAE"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Charles Levert (<A HREF="mailto:charles@comm.polymtl.ca">charles@comm.polymtl.ca</A>). Adapted to bzip2 by Philippe
|
|
Troin <<A HREF="mailto:phil@fifi.org">phil@fifi.org</A>> for Debian GNU/Linux.
|
|
<A NAME="lbAF"> </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"> </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>
|