zfgrep

Matches fixed strings in possibly compressed files. Equivalent to grep -F with input decompressed first if necessary. More information: https://manned.org/zfgrep.

zfgrep search_string path/to/file

zfgrep --count search_string path/to/file

zfgrep --line-number search_string path/to/file

zfgrep --invert-match search_string path/to/file

zfgrep --files-with-matches search_string path/to/file1 path/to/file2 ...