annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/man/man1/lzfgrep.1 @ 68:5028fdace37b

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 16:23:26 -0400
parents
children
rev   line source
jpayne@68 1 .\" SPDX-License-Identifier: 0BSD
jpayne@68 2 .\"
jpayne@68 3 .\" Authors: Lasse Collin
jpayne@68 4 .\" Jia Tan
jpayne@68 5 .\"
jpayne@68 6 .\" (Note that this file is not based on gzip's zgrep.1.)
jpayne@68 7 .\"
jpayne@68 8 .TH XZGREP 1 "2024-02-13" "Tukaani" "XZ Utils"
jpayne@68 9 .SH NAME
jpayne@68 10 xzgrep \- search possibly-compressed files for patterns
jpayne@68 11 .
jpayne@68 12 .SH SYNOPSIS
jpayne@68 13 .B xzgrep
jpayne@68 14 .RI [ option... ]
jpayne@68 15 .RI [ pattern_list ]
jpayne@68 16 .RI [ file... ]
jpayne@68 17 .br
jpayne@68 18 .B xzegrep
jpayne@68 19 \&...
jpayne@68 20 .br
jpayne@68 21 .B xzfgrep
jpayne@68 22 \&...
jpayne@68 23 .br
jpayne@68 24 .B lzgrep
jpayne@68 25 \&...
jpayne@68 26 .br
jpayne@68 27 .B lzegrep
jpayne@68 28 \&...
jpayne@68 29 .br
jpayne@68 30 .B lzfgrep
jpayne@68 31 \&...
jpayne@68 32 .
jpayne@68 33 .SH DESCRIPTION
jpayne@68 34 .B xzgrep
jpayne@68 35 invokes
jpayne@68 36 .BR grep (1)
jpayne@68 37 on uncompressed contents of files.
jpayne@68 38 The formats of the
jpayne@68 39 .I files
jpayne@68 40 are determined from the filename suffixes.
jpayne@68 41 Any
jpayne@68 42 .I file
jpayne@68 43 with a suffix supported by
jpayne@68 44 .BR xz (1),
jpayne@68 45 .BR gzip (1),
jpayne@68 46 .BR bzip2 (1),
jpayne@68 47 .BR lzop (1),
jpayne@68 48 .BR zstd (1),
jpayne@68 49 or
jpayne@68 50 .BR lz4 (1)
jpayne@68 51 will be decompressed;
jpayne@68 52 all other files are assumed to be uncompressed.
jpayne@68 53 .PP
jpayne@68 54 If no
jpayne@68 55 .I files
jpayne@68 56 are specified or
jpayne@68 57 .I file
jpayne@68 58 is
jpayne@68 59 .B \-
jpayne@68 60 then standard input is read.
jpayne@68 61 When reading from standard input, only files supported by
jpayne@68 62 .BR xz (1)
jpayne@68 63 are decompressed.
jpayne@68 64 Other files are assumed to be in uncompressed form already.
jpayne@68 65 .PP
jpayne@68 66 Most
jpayne@68 67 .I options
jpayne@68 68 of
jpayne@68 69 .BR grep (1)
jpayne@68 70 are supported.
jpayne@68 71 However, the following options are not supported:
jpayne@68 72 .IP "" 4
jpayne@68 73 .BR \-r ,
jpayne@68 74 .B \-\-recursive
jpayne@68 75 .IP "" 4
jpayne@68 76 .BR \-R ,
jpayne@68 77 .B \-\-dereference\-recursive
jpayne@68 78 .IP "" 4
jpayne@68 79 .BR \-d ,
jpayne@68 80 .BI \-\-directories= action
jpayne@68 81 .IP "" 4
jpayne@68 82 .BR \-Z ,
jpayne@68 83 .B \-\-null
jpayne@68 84 .IP "" 4
jpayne@68 85 .BR \-z ,
jpayne@68 86 .B \-\-null\-data
jpayne@68 87 .IP "" 4
jpayne@68 88 .BI \-\-include= glob
jpayne@68 89 .IP "" 4
jpayne@68 90 .BI \-\-exclude= glob
jpayne@68 91 .IP "" 4
jpayne@68 92 .BI \-\-exclude\-from= file
jpayne@68 93 .IP "" 4
jpayne@68 94 .BI \-\-exclude\-dir= glob
jpayne@68 95 .PP
jpayne@68 96 .B xzegrep
jpayne@68 97 is an alias for
jpayne@68 98 .BR "xzgrep \-E" .
jpayne@68 99 .B xzfgrep
jpayne@68 100 is an alias for
jpayne@68 101 .BR "xzgrep \-F" .
jpayne@68 102 .PP
jpayne@68 103 The commands
jpayne@68 104 .BR lzgrep ,
jpayne@68 105 .BR lzegrep ,
jpayne@68 106 and
jpayne@68 107 .B lzfgrep
jpayne@68 108 are provided for backward compatibility with LZMA Utils.
jpayne@68 109 .
jpayne@68 110 .SH EXIT STATUS
jpayne@68 111 .TP
jpayne@68 112 0
jpayne@68 113 At least one match was found from at least one of the input files.
jpayne@68 114 No errors occurred.
jpayne@68 115 .TP
jpayne@68 116 1
jpayne@68 117 No matches were found from any of the input files.
jpayne@68 118 No errors occurred.
jpayne@68 119 .TP
jpayne@68 120 >1
jpayne@68 121 One or more errors occurred.
jpayne@68 122 It is unknown if matches were found.
jpayne@68 123 .
jpayne@68 124 .SH ENVIRONMENT
jpayne@68 125 .TP
jpayne@68 126 .B GREP
jpayne@68 127 If
jpayne@68 128 .B GREP
jpayne@68 129 is set to a non-empty value,
jpayne@68 130 it is used instead of
jpayne@68 131 .BR "grep" ,
jpayne@68 132 .BR "grep \-E" ,
jpayne@68 133 or
jpayne@68 134 .BR "grep \-F" .
jpayne@68 135 .
jpayne@68 136 .SH "SEE ALSO"
jpayne@68 137 .BR grep (1),
jpayne@68 138 .BR xz (1),
jpayne@68 139 .BR gzip (1),
jpayne@68 140 .BR bzip2 (1),
jpayne@68 141 .BR lzop (1),
jpayne@68 142 .BR zstd (1),
jpayne@68 143 .BR lz4 (1),
jpayne@68 144 .BR zgrep (1)