💾 Archived View for freeshell.de › tldr › bzgrep.gmi captured on 2024-05-26 at 15:08:56. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

bzgrep

Find patterns in bzip2 compressed files using grep.

More information.

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).

CC-BY