OLD | NEW |
1 .\" | 1 .\" |
2 .\" Original zgrep.1 for gzip: Jean-loup Gailly | 2 .\" Original zgrep.1 for gzip: Jean-loup Gailly |
3 .\" Charles Levert <charles@comm.polymtl.ca> | 3 .\" Charles Levert <charles@comm.polymtl.ca> |
4 .\" | 4 .\" |
5 .\" Modifications for XZ Utils: Lasse Collin | 5 .\" Modifications for XZ Utils: Lasse Collin |
6 .\" | 6 .\" |
7 .\" License: GNU GPLv2+ | 7 .\" License: GNU GPLv2+ |
8 .\" | 8 .\" |
9 .TH XZGREP 1 "2009-07-05" "Tukaani" "XZ Utils" | 9 .TH XZGREP 1 "2010-09-27" "Tukaani" "XZ Utils" |
10 .SH NAME | 10 .SH NAME |
11 xzgrep \- search compressed files for a regular expression | 11 xzgrep \- search compressed files for a regular expression |
12 .SH SYNOPSIS | 12 .SH SYNOPSIS |
13 .B xzgrep | 13 .B xzgrep |
14 .RI [ grep_options ] | 14 .RI [ grep_options ] |
15 .RB [ \-e ] | 15 .RB [ \-e ] |
16 .I pattern | 16 .I pattern |
17 .IR file ".\|.\|." | 17 .IR file "..." |
18 .br | 18 .br |
19 .B xzegrep | 19 .B xzegrep |
20 .RB ... | 20 .RB ... |
21 .br | 21 .br |
22 .B xzfgrep | 22 .B xzfgrep |
23 .RB ... | 23 .RB ... |
24 .br | 24 .br |
25 .B lzgrep | 25 .B lzgrep |
26 .RB ... | 26 .RB ... |
27 .br | 27 .br |
28 .B lzegrep | 28 .B lzegrep |
29 .RB ... | 29 .RB ... |
30 .br | 30 .br |
31 .B lzfgrep | 31 .B lzfgrep |
32 .RB ... | 32 .RB ... |
33 .SH DESCRIPTION | 33 .SH DESCRIPTION |
34 .B xzgrep | 34 .B xzgrep |
35 invokes | 35 invokes |
36 .BR grep (1) | 36 .BR grep (1) |
37 on | 37 on |
38 .I files | 38 .I files |
39 which may be either uncompressed or compressed with | 39 which may be either uncompressed or compressed with |
40 .BR xz (1), | 40 .BR xz (1), |
41 .BR lzma (1), | 41 .BR lzma (1), |
42 .BR gzip (1), | 42 .BR gzip (1), |
43 or | 43 or |
44 .BR bzip2 (1). | 44 .BR bzip2 (1). |
45 All options specified are passed directly to | 45 All options specified are passed directly to |
46 .BR grep (1). | 46 .BR grep (1). |
47 .PP | 47 .PP |
48 If no | 48 If no |
49 .I file | 49 .I file |
50 is specified, then the standard input is decompressed if necessary and fed to | 50 is specified, then standard input is decompressed if necessary |
| 51 and fed to |
51 .BR grep (1). | 52 .BR grep (1). |
52 When reading from standard input, | 53 When reading from standard input, |
53 .BR gzip (1) | 54 .BR gzip (1) |
54 and | 55 and |
55 .BR bzip2 (1) | 56 .BR bzip2 (1) |
56 compressed files are not supported. | 57 compressed files are not supported. |
57 .PP | 58 .PP |
58 If | 59 If |
59 .B xzgrep | 60 .B xzgrep |
60 is invoked as | 61 is invoked as |
(...skipping 24 matching lines...) Expand all Loading... |
85 .BR grep (1), | 86 .BR grep (1), |
86 .BR egrep (1), | 87 .BR egrep (1), |
87 or | 88 or |
88 .BR fgrep (1). | 89 .BR fgrep (1). |
89 .SH "SEE ALSO" | 90 .SH "SEE ALSO" |
90 .BR grep (1), | 91 .BR grep (1), |
91 .BR xz (1), | 92 .BR xz (1), |
92 .BR gzip (1), | 93 .BR gzip (1), |
93 .BR bzip2 (1), | 94 .BR bzip2 (1), |
94 .BR zgrep (1) | 95 .BR zgrep (1) |
OLD | NEW |