BZGREP(1)
π BZGREP(1) π
General Commands Manual
β¨ NAME β¨
okay so the name section is giving: bzgrep, bzfgrep, and bzegrep π¦. All three search possibly bzip2 compressed files for a regular expression. Iconic, right? π
π SYNOPSIS π
bzgrep [ grep_options ] [ -e ] pattern filename...
bzegrep [ egrep_options ] [ -e ] pattern filename...
bzfgrep [ fgrep_options ] [ -e ] pattern filename...
πΈ DESCRIPTION πΈ
bestie, bzgrep is basically a little helper that invokes grep on bzip2-compressed files for you π§. Every option you type gets passed straight through to grep, no cap. If you don't give it any file, it decompresses standard input if it needs to and feeds that to grep. If you do give it files, it uncompresses them if necessary and feeds them to grep too. So smooth β¨.
If you invoke it as bzegrep or bzfgrep, it swaps in egrep or fgrep instead of grep. Main character energy π.
Also, if the GREP environment variable is set, bzgrep uses whatever's in there as the grep program it runs. Here's how you'd do it:
for sh: GREP=fgrep bzgrep string files
for csh: (setenv GREP fgrep; bzgrep string files)
π AUTHOR π
Charles Levert (charles@comm.polymtl.ca) wrote the original π«Ά. Philippe Troin <phil@fifi.org> adapted it to bzip2 for Debian GNU/Linux, and we love a team effort π.
π¦ SEE ALSO π¦
grep(1), egrep(1), fgrep(1), bzdiff(1), bzmore(1), bzless(1), bzip2(1) β¨
That's a wrap, bestie π this was BZGREP(1), General Commands Manual, and you're literally going to ace it π₯π
π¦ where this page comes from
- alpine 3.22: bzip2-doc 1.0.8-r6 Β· bzip2-1.0.6
- alpine 3.23: bzip2-doc 1.0.8-r6 Β· bzip2-1.0.6
- alpine 3.24: bzip2-doc 1.0.8-r6 Β· bzip2-1.0.6
- centos-stream 10: bzip2 1.0.8-25.el10 Β· BSD-4-Clause
- centos-stream 9: bzip2 1.0.8-11.el9 Β· BSD
- debian bookworm: bzip2 1.0.8-5+b1 Β· BSD-variant
- debian trixie: bzip2 1.0.8-6 Β· BSD-variant
- fedora 43: bzip2 1.0.8-21.fc43 Β· BSD-4-Clause
- fedora 44: bzip2 1.0.8-23.fc44 Β· BSD-4-Clause
- nixos 26.05: bzip2-static 1.0.8
- nixpkgs unstable: bzip2 1.0.8
- opensuse-leap 16.0: bzip2 1.0.8-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: bzip2 1.0.8-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: bzip2 1.0.8-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: bzip2 1.0.8-160000.3.1 Β· BSD-3-Clause
- ubuntu jammy: bzip2 1.0.8-5build1 Β· BSD-variant
- ubuntu jammy: bzip2 1.0.8-5ubuntu0.1 Β· BSD-variant
- ubuntu noble: bzip2 1.0.8-5.1 Β· BSD-variant
- ubuntu noble: bzip2 1.0.8-5.1ubuntu0.1 Β· BSD-variant
- ubuntu questing: bzip2 1.0.8-6build1 Β· BSD-variant
- ubuntu resolute: bzip2 1.0.8-6build2 Β· BSD-variant
- ubuntu resolute: bzip2 1.0.8-6ubuntu0.1 Β· BSD-variant
- ubuntu stonking: bzip2 1.0.8-6build2 Β· BSD-variant
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms