bzgrep
Find patterns in
bzip2compressed files usinggrep. More information: https://manned.org/bzgrep.
- Search for a pattern within a compressed file:
bzgrep ""
- Recursively search files in a
bzip2compressed.tararchive for a pattern:
bzgrep ""
- Print 3 lines of [C]ontext around, [B]efore, or [A]fter each match:
bzgrep 3 ""
- Print file name and line number for each match:
bzgrep ""
- Search for lines matching a pattern, printing only the matched text:
bzgrep ""
- Search
stdinfor lines that do not match a pattern:
cat | bzgrep ""
- Use extended
regex(supports?,+,{},(), and|), in case-insensitive mode:
bzgrep ""
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
