ZGREP(1)

๐Ÿ“ฆ version 15.1, in freebsd 14.5, freebsd 15.1

๐Ÿ’… ZGREP(1) โ€” like, the general commands manual bestie, section 1, we love her

okay so picture this: you've got a file, it's compressed, and grep is just standing there like ๐Ÿ‘๏ธ๐Ÿ‘„๐Ÿ‘๏ธ refusing to look inside. enter zgrep and her fourteen identical twin sisters. same energy, different decompressor. iykyk ๐ŸŽ€


โœจ NAME โœจ

zgrep, zegrep, zfgrep, bzgrep, bzegrep, bzfgrep, lzgrep, lzegrep, lzfgrep, xzgrep, xzegrep, xzfgrep, zstdgrep, zstdegrep, zstdfgrep โ€” the whole friend group ๐Ÿ’– and what do they do? they grep compressed files. that's it. that's the vibe.


๐ŸŒธ SYNOPSIS ๐ŸŒธ

each family has their own little trio, and yes, the pattern is exactly what you think it is:

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

group chat rules, honestly: <prefix>grep is the normal one, <prefix>egrep is the extended-regex one, <prefix>fgrep is the fixed-string one. slay ๐Ÿซถ


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

the entire job description, in one sentence: let grep(1) read compressed files. that's it. nobody's asking her to be complicated. iconic, lowkey. โœจ

ngl bestie, that's the whole description. no hidden lore, no secret flags section, nothing else hiding under the couch. sometimes the manpage is just short and we respect that ๐Ÿ’€

๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ

go read her friends, they're all main characters:


๐Ÿ‘‘ AUTHORS ๐Ÿ‘‘

this version of the zgrep utility was written by Thomas Klausner <wiz@NetBSD.org> โ€” credit where credit is due, bestie, always ๐Ÿซก๐Ÿ’œ


and that's the whole page!! no cap, you now know everything zgrep knows.

Debian ยท July 20, 2020 ยท ZGREP(1) โ€” mwah, go grep something compressed, it's giving efficiency ๐ŸŒˆ๐Ÿ’…๐ŸŽ€

๐Ÿ“ฆ where this page comes from