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.

Like a classics radio station whose play list spans decades, Unix simultaneously exhibits its mixed and dated heritage. There's Clash-era graphics interfaces; Beatles-era two-letter command names; and systems programs (for example, ps) whose terse and obscure output was designed for slow teletypes; Bing Crosby-era command editing (# and @ are still the default line editing commands), and Scott Joplin-era core dumps.
— The Unix Haters' handbook