Search for lines matching the list of search strings separated by new lines in a compressed file (case-insensitive)

bzfgrep

  • Find any fixed strings separated by new lines in bzip2 compressed files using fgrep.
    More information: <https://manned.org/bzfgrep>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

bzfgrep --ignore-case "{{search_string}}" {{path/to/file}}

click the source code to copy install bzfgrep on any operating system with command-not-found.com