1XZGREP(1) XZ Utils XZGREP(1)
2
3
4
6 xzgrep - search compressed files for a regular expression
7
9 xzgrep [grep_options] [-e] pattern file...
10 xzegrep ...
11 xzfgrep ...
12 lzgrep ...
13 lzegrep ...
14 lzfgrep ...
15
17 xzgrep invokes grep(1) on files which may be either uncompressed or
18 compressed with xz(1), lzma(1), gzip(1), or bzip2(1). All options
19 specified are passed directly to grep(1).
20
21 If no file is specified, then the standard input is decompressed if
22 necessary and fed to grep(1). When reading from standard input,
23 gzip(1) and bzip2(1) compressed files are not supported.
24
25 If xzgrep is invoked as xzegrep or xzfgrep then egrep(1) or fgrep(1) is
26 used instead of grep(1). The same applies to names lzgrep, lzegrep,
27 and lzfgrep, which are provided for backward compatibility with LZMA
28 Utils.
29
31 GREP If the GREP environment variable is set, xzgrep uses it instead
32 of grep(1), egrep(1), or fgrep(1).
33
35 grep(1), xz(1), gzip(1), bzip2(1), zgrep(1)
36
37
38
39Tukaani 2009-07-05 XZGREP(1)