Find patterns in bzip2 compressed files using grep.
bzgrep "{search_pattern}" {path/to/file}
?
, +
, {}
, ()
and |
), in case-insensitive mode:
bzgrep --extended-regexp --ignore-case "{search_pattern}" {path/to/file}
bzgrep --{context|before-context|after-context}={3} "{search_pattern}" {path/to/file}
bzgrep --with-filename --line-number "{search_pattern}" {path/to/file}
bzgrep --only-matching "{search_pattern}" {path/to/file}
bzgrep --recursive "{search_pattern}" {path/to/tar/file}
cat {/path/to/bz/compressed/file} | bzgrep --invert-match "{search_pattern}"
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
=> CC-BY This content has been proxied by September (3851b).Proxy Information
text/gemini;lang=en-GB