1LZGREP(1)                   General Commands Manual                  LZGREP(1)
2
3
4

NAME

6       lzgrep - search LZMA compressed files for a regular expression
7

SYNOPSIS

9       lzgrep [grep_options] [-e] pattern filename...
10       lzegrep ...
11       lzfgrep ...
12

DESCRIPTION

14       lzgrep  is  used  to  invoke  the grep(1) on LZMA compressed files. All
15       options specified are passed directly to grep.  If no  file  is  speciā€
16       fied,  then  the standard input is decompressed if necessary and fed to
17       grep.  Otherwise the given files are uncompressed if necessary and  fed
18       to grep.
19
20       If  lzgrep is invoked as lzegrep or lzfgrep then egrep or fgrep is used
21       instead of grep.  If the GREP environment variable is set, lzgrep  uses
22       it as the grep program to be invoked. For example:
23
24           for sh:  GREP=fgrep  lzgrep string files
25           for csh: (setenv GREP fgrep; lzgrep string files)
26

AUTHORS

28       Original     zgrep(1)     manual     page     by     Charles     Levert
29       <charles@comm.polymtl.ca>.
30
31       Minor    modifications    for    LZMA    utils    by    Lasse    Collin
32       <lasse.collin@tukaani.org>.
33

SEE ALSO

35       grep(1), egrep(1), fgrep(1), lzdiff(1), lzmore(1), lzma(1)
36
37
38
39LZMA utils                        24 Jun 2005                        LZGREP(1)
Impressum