ptargrep

Find regular expression patterns in tar archive files. More information: https://manned.org/ptargrep.

ptargrep "{{search_pattern}}" {{path/to/file1 path/to/file2 ...}}

ptargrep {{[-b|--basename]}} "{{search_pattern}}" {{path/to/file}}

ptargrep {{[-i|--ignore-case]}} "{{search_pattern}}" {{path/to/file}}