Find extended regular expression patterns in
bzip2
compressed files usingegrep
. More information: https://manned.org/bzegrep.
?
, +
, {}
, ()
and |
) in a compressed file (case-sensitive):bzegrep "search_pattern" path/to/file
?
, +
, {}
, ()
and |
) in a compressed file (case-insensitive):bzegrep --ignore-case "search_pattern" path/to/file
bzegrep --invert-match "search_pattern" path/to/file
bzegrep --with-filename --line-number "search_pattern" path/to/file
bzegrep --only-matching "search_pattern" path/to/file
bzegrep --recursive "search_pattern" path/to/file