xzgrep man page: Document exit statuses.
This commit is contained in:
parent
57e1ccbb7c
commit
9055584be0
|
@ -6,7 +6,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" License: GNU GPLv2+
|
.\" License: GNU GPLv2+
|
||||||
.\"
|
.\"
|
||||||
.TH XZGREP 1 "2021-11-13" "Tukaani" "XZ Utils"
|
.TH XZGREP 1 "2022-07-19" "Tukaani" "XZ Utils"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
xzgrep \- search compressed files for a regular expression
|
xzgrep \- search compressed files for a regular expression
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -78,6 +78,19 @@ The same applies to names
|
||||||
and
|
and
|
||||||
.BR lzfgrep ,
|
.BR lzfgrep ,
|
||||||
which are provided for backward compatibility with LZMA Utils.
|
which are provided for backward compatibility with LZMA Utils.
|
||||||
|
.SH EXIT STATUS
|
||||||
|
.TP
|
||||||
|
0
|
||||||
|
At least one match was found from at least one of the input files.
|
||||||
|
No errors occurred.
|
||||||
|
.TP
|
||||||
|
1
|
||||||
|
No matches were found from any of the input files.
|
||||||
|
No errors occurred.
|
||||||
|
.TP
|
||||||
|
>1
|
||||||
|
One or more errors occurred.
|
||||||
|
It is unknown if matches were found.
|
||||||
.SH ENVIRONMENT
|
.SH ENVIRONMENT
|
||||||
.TP
|
.TP
|
||||||
.B GREP
|
.B GREP
|
||||||
|
|
Loading…
Reference in New Issue