zgrep

Grep text patterns from files within compressed file (equivalent to grep -Z).
More information.
zgrep {pattern} {path/to/compressed/file}
zgrep -i {pattern} {path/to/compressed/file}
zgrep -c {pattern} {path/to/compressed/file}
zgrep -v {pattern} {path/to/compressed/file}
zgrep -e "{pattern_1}" -e "{pattern_2}" {path/to/compressed/file}
zgrep -E {regular_expression} {path/to/file}
zgrep -{C|B|A} {3} {pattern} {path/to/compressed/file}
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