bzfgrep
Search bzip2 files for fixed string patterns
TLDR
SYNOPSIS
bzfgrep [fgrepoptions] [**-e**] pattern [filename..._]
DESCRIPTION
bzfgrep searches possibly bzip2-compressed files for lines matching a fixed string pattern. It transparently decompresses .bz2 files before searching and passes all options directly to fgrep.
Unlike bzgrep or bzegrep, bzfgrep interprets the pattern as a literal string rather than a regular expression. This makes it faster for simple string searches and avoids the need to escape special characters.
If no file is specified, bzfgrep reads from standard input, decompressing if necessary.
PARAMETERS
All fgrep options are supported, including:
-i
Case-insensitive matching-n
Print line numbers-c
Print only a count of matching lines-v
Invert match (show non-matching lines)-l
Print only filenames containing matches-e pattern
Specify the pattern (useful if pattern starts with -)
CAVEATS
The GREP environment variable can be set to specify an alternate grep program. The pattern is treated as a fixed string, not a regular expression. For regex searches, use bzgrep or bzegrep.

