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

186 lines
3.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of XZGREP</TITLE>
</HEAD><BODY>
<H1>XZGREP</H1>
Section: XZ Utils (1)<BR>Updated: 2011-03-19<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>
xzgrep - search compressed files for a regular expression
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>xzgrep</B>
[<I>grep_options</I>]
[<B>-e</B>]
<I>pattern</I>
<I>file</I>...
<BR>
<B>xzegrep</B>
...
<BR>
<B>xzfgrep</B>
...
<BR>
<B>lzgrep</B>
...
<BR>
<B>lzegrep</B>
...
<BR>
<B>lzfgrep</B>
...
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>xzgrep</B>
invokes
<B><A HREF="/cgi-bin/man/man2html?1+grep">grep</A></B>(1)
on
<I>files</I>
which may be either uncompressed or compressed with
<B><A HREF="/cgi-bin/man/man2html?1+xz">xz</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+lzma">lzma</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+gzip">gzip</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+bzip2">bzip2</A></B>(1),
or
<B><A HREF="/cgi-bin/man/man2html?1+lzop">lzop</A></B>(1).
All options specified are passed directly to
<B><A HREF="/cgi-bin/man/man2html?1+grep">grep</A></B>(1).
<P>
If no
<I>file</I>
is specified, then standard input is decompressed if necessary
and fed to
<B><A HREF="/cgi-bin/man/man2html?1+grep">grep</A></B>(1).
When reading from standard input,
<B><A HREF="/cgi-bin/man/man2html?1+gzip">gzip</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+bzip2">bzip2</A></B>(1),
and
<B><A HREF="/cgi-bin/man/man2html?1+lzop">lzop</A></B>(1)
compressed files are not supported.
<P>
If
<B>xzgrep</B>
is invoked as
<B>xzegrep</B>
or
<B>xzfgrep</B>
then
<B><A HREF="/cgi-bin/man/man2html?1+egrep">egrep</A></B>(1)
or
<B><A HREF="/cgi-bin/man/man2html?1+fgrep">fgrep</A></B>(1)
is used instead of
<B><A HREF="/cgi-bin/man/man2html?1+grep">grep</A></B>(1).
The same applies to names
<B>lzgrep</B>,
<B>lzegrep</B>,
and
<B>lzfgrep</B>,
which are provided for backward compatibility with LZMA Utils.
<P>
<A NAME="lbAE">&nbsp;</A>
<H2>ENVIRONMENT</H2>
<DL COMPACT>
<DT id="1"><B>GREP</B>
<DD>
If the
<B>GREP</B>
environment variable is set,
<B>xzgrep</B>
uses it instead of
<B><A HREF="/cgi-bin/man/man2html?1+grep">grep</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+egrep">egrep</A></B>(1),
or
<B><A HREF="/cgi-bin/man/man2html?1+fgrep">fgrep</A></B>(1).
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+grep">grep</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+xz">xz</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+gzip">gzip</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+bzip2">bzip2</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+lzop">lzop</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+zgrep">zgrep</A></B>(1)
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="2"><A HREF="#lbAB">NAME</A><DD>
<DT id="3"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="4"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="5"><A HREF="#lbAE">ENVIRONMENT</A><DD>
<DT id="6"><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:31 GMT, March 31, 2021
</BODY>
</HTML>