💾 Archived View for freeshell.de › tldr › bzgrep.gmi captured on 2023-09-28 at 16:17:31. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Find patterns in bzip2 compressed files using grep.
bzgrep "{search_pattern}" {path/to/file}
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).