tail head cat sleep
QR code linking to this page

Manual Pages  — ZGREP

NAME

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

CONTENTS

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 <Mt 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.


ZGREP (1) July 20, 2020

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

"I liken starting one's computing career with Unix, say as an undergraduate, to being born in East Africa. It is intolerably hot, your body is covered with lice and flies, you are malnourished and you suffer from numerous curable diseases. But, as far as young East Africans can tell, this is simply the natural condition and they live within it. By the time they find out differently, it is too late. They already think that the writing of shell scripts is a natural act."
— Ken Pier, Xerox PARC