zfgrep

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

zfgrep {{search_string}} {{path/to/file}}

zfgrep {{[-c|--count]}} {{search_string}} {{path/to/file}}

zfgrep {{[-n|--line-number]}} {{search_string}} {{path/to/file}}

zfgrep {{[-v|--invert-match]}} {{search_string}} {{path/to/file}}

zfgrep {{[-l|--files-with-matches]}} {{search_string}} {{path/to/file1 path/to/file2 ...}}