]> icculus.org git repositories - icculus/xz.git/blob - src/scripts/lzgrep.1
Get rid of no-NLS gnulib. I don't know how to get it
[icculus/xz.git] / src / scripts / lzgrep.1
1 .TH LZGREP 1 "24 Jun 2005" "LZMA utils"
2 .SH NAME
3 lzgrep \- search LZMA compressed files for a regular expression
4 .SH SYNOPSIS
5 .B lzgrep
6 .RI [ grep_options ]
7 .RB  [ \-e ]
8 .I pattern
9 .IR filename ".\|.\|."
10 .br
11 .B lzegrep
12 .RB ...
13 .br
14 .B lzfgrep
15 .RB ...
16 .SH DESCRIPTION
17 .B  lzgrep
18 is used to invoke the
19 .BR grep (1)
20 on LZMA compressed files. All options specified are passed directly to
21 .BR grep .
22 If no file is specified, then the standard input is decompressed
23 if necessary and fed to grep.
24 Otherwise the given files are uncompressed if necessary and fed to
25 .BR grep .
26 .PP
27 If
28 .B lzgrep
29 is invoked as
30 .B lzegrep
31 or
32 .B lzfgrep
33 then
34 .B egrep
35 or
36 .B fgrep
37 is used instead of
38 .B grep.
39 If the GREP environment variable is set,
40 .B lzgrep
41 uses it as the
42 .B grep
43 program to be invoked. For example:
44
45     for sh:  GREP=fgrep  lzgrep string files
46     for csh: (setenv GREP fgrep; lzgrep string files)
47 .SH AUTHORS
48 Original
49 .BR zgrep (1)
50 manual page by Charles Levert <charles@comm.polymtl.ca>.
51 .PP
52 Minor modifications for LZMA utils by Lasse Collin
53 <lasse.collin@tukaani.org>.
54 .SH "SEE ALSO"
55 .BR grep (1),
56 .BR egrep (1),
57 .BR fgrep (1),
58 .BR lzdiff (1),
59 .BR lzmore (1),
60 .BR lzma (1),
61 .BR lzmash (1)