Manual Page Search Parameters
zstdgrep, zgrep, bzegrep, bzfgrep, bzgrep, lzegrep, lzfgrep, lzgrep, xzegrep, xzfgrep, xzgrep, zegrep, zfgrep, zstdegrep, zstdfgrep(1) grep compressed files
bzegrep, zgrep, bzfgrep, bzgrep, lzegrep, lzfgrep, lzgrep, xzegrep, xzfgrep, xzgrep, zegrep, zfgrep, zstdegrep, zstdfgrep, zstdgrep(1) grep compressed files
bzfgrep, zgrep, bzegrep, bzgrep, lzegrep, lzfgrep, lzgrep, xzegrep, xzfgrep, xzgrep, zegrep, zfgrep, zstdegrep, zstdfgrep, zstdgrep(1) grep compressed files
bzgrep, zgrep, bzegrep, bzfgrep, lzegrep, lzfgrep, lzgrep, xzegrep, xzfgrep, xzgrep, zegrep, zfgrep, zstdegrep, zstdfgrep, zstdgrep(1) grep compressed files
lzegrep, zgrep, bzegrep, bzfgrep, bzgrep, lzfgrep, lzgrep, xzegrep, xzfgrep, xzgrep, zegrep, zfgrep, zstdegrep, zstdfgrep, zstdgrep(1) grep compressed files
lzfgrep, zgrep, bzegrep, bzfgrep, bzgrep, lzegrep, lzgrep, xzegrep, xzfgrep, xzgrep, zegrep, zfgrep, zstdegrep, zstdfgrep, zstdgrep(1) grep compressed files
lzgrep, zgrep, bzegrep, bzfgrep, bzgrep, lzegrep, lzfgrep, xzegrep, xzfgrep, xzgrep, zegrep, zfgrep, zstdegrep, zstdfgrep, zstdgrep(1) grep compressed files
xzegrep, zgrep, bzegrep, bzfgrep, bzgrep, lzegrep, lzfgrep, lzgrep, xzfgrep, xzgrep, zegrep, zfgrep, zstdegrep, zstdfgrep, zstdgrep(1) grep compressed files
xzfgrep, zgrep, bzegrep, bzfgrep, bzgrep, lzegrep, lzfgrep, lzgrep, xzegrep, xzgrep, zegrep, zfgrep, zstdegrep, zstdfgrep, zstdgrep(1) grep compressed files
xzgrep, zgrep, bzegrep, bzfgrep, bzgrep, lzegrep, lzfgrep, lzgrep, xzegrep, xzfgrep, zegrep, zfgrep, zstdegrep, zstdfgrep, zstdgrep(1) grep compressed files
zegrep, zgrep, bzegrep, bzfgrep, bzgrep, lzegrep, lzfgrep, lzgrep, xzegrep, xzfgrep, xzgrep, zfgrep, zstdegrep, zstdfgrep, zstdgrep(1) grep compressed files
zfgrep, zgrep, bzegrep, bzfgrep, bzgrep, lzegrep, lzfgrep, lzgrep, xzegrep, xzfgrep, xzgrep, zegrep, zstdegrep, zstdfgrep, zstdgrep(1) grep compressed files
zgrep, bzegrep, bzfgrep, bzgrep, lzegrep, lzfgrep, lzgrep, xzegrep, xzfgrep, xzgrep, zegrep, zfgrep, zstdegrep, zstdfgrep, zstdgrep(1) grep compressed files
zstdegrep, zgrep, bzegrep, bzfgrep, bzgrep, lzegrep, lzfgrep, lzgrep, xzegrep, xzfgrep, xzgrep, zegrep, zfgrep, zstdfgrep, zstdgrep(1) grep compressed files
zstdfgrep, zgrep, bzegrep, bzfgrep, bzgrep, lzegrep, lzfgrep, lzgrep, xzegrep, xzfgrep, xzgrep, zegrep, zfgrep, zstdegrep, zstdgrep(1) grep compressed files

ZGREP(1) MidnightBSD General Commands Manual ZGREP(1)

zgrep, zegrep, zfgrep, bzgrep, bzegrep, bzfgrep, lzgrep, lzegrep, lzfgrep, xzgrep, xzegrep, xzfgrep, zstdgrep, zstdegrep, zstdfgrepgrep compressed files

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

Allow grep(1) to read compressed files.

bzip2(1), grep(1), gzip(1), xz(1), zstd(1)

This version of the zgrep utility was written by Thomas Klausner <wiz@NetBSD.org>.

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.

July 20, 2020 midnightbsd-3.1