Merge clang trunk r366426, resolve conflicts, and update FREEBSD-Xlist.
[freebsd.git] / sys / contrib / zstd / programs / zstdgrep.1
1 .
2 .TH "ZSTDGREP" "1" "July 2019" "zstd 1.4.2" "User Commands"
3 .
4 .SH "NAME"
5 \fBzstdgrep\fR \- print lines matching a pattern in zstandard\-compressed files
6 .
7 .SH "SYNOPSIS"
8 \fBzstdgrep\fR [\fIgrep\-flags\fR] [\-\-] \fIpattern\fR [\fIfiles\fR \.\.\.]
9 .
10 .SH "DESCRIPTION"
11 \fBzstdgrep\fR runs \fBgrep (1)\fR on files or stdin, if no files argument is given, after decompressing them with \fBzstdcat (1)\fR\.
12 .
13 .P
14 The grep\-flags and pattern arguments are passed on to \fBgrep (1)\fR\. If an \fB\-e\fR flag is found in the \fBgrep\-flags\fR, \fBzstdgrep\fR will not look for a pattern argument\.
15 .
16 .SH "EXIT STATUS"
17 In case of missing arguments or missing pattern, 1 will be returned, otherwise 0\.
18 .
19 .SH "SEE ALSO"
20 \fBzstd (1)\fR
21 .
22 .SH "AUTHORS"
23 Thomas Klausner \fIwiz@NetBSD\.org\fR