FreeBSD manual
download PDF document: xzgrep.1.pdf
ZGREP(1) FreeBSD General Commands Manual ZGREP(1)
NAME
zgrep, zegrep, zfgrep, bzgrep, bzegrep, bzfgrep, lzgrep, lzegrep,
lzfgrep, xzgrep, xzegrep, xzfgrep, zstdgrep, zstdegrep, zstdfgrep - grep
compressed files
SYNOPSIS
zgrep [flags] files
zegrep [flags] files
zfgrep [flags] files
bzgrep [flags] files
bzegrep [flags] files
bzfgrep [flags] files
lzgrep [flags] files
lzegrep [flags] files
lzfgrep [flags] files
xzgrep [flags] files
xzegrep [flags] files
xzfgrep [flags] files
zstdgrep [flags] files
zstdegrep [flags] files
zstdfgrep [flags] files
DESCRIPTION
Allow grep(1) to read compressed files.
SEE ALSO
bzip2(1), grep(1), gzip(1), xz(1), zstd(1)
AUTHORS
This version of the zgrep utility was written by Thomas Klausner
<wiz@NetBSD.org>.
BUGS
zgrep(1) does not handle flags that take arguments if there is no
whitespace between the flag and the argument, for example:
zgrep -enfs /etc/rpc
When more than one -e flag is used matching should occur for any of the
patterns (similar to multiple patterns supplied in a file with the -f
flag). zgrep(1) only matches the last -e pattern.
FreeBSD 14.0-RELEASE-p11 July 20, 2020 FreeBSD 14.0-RELEASE-p11