ZGREP(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
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2018 Baptiste Daroussin <bapt@FreeBSD.org>
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms