@cks: #ripgrep indeed seems slightly fast than normal #grep.

But for some cases it's still not fast enough. Which is why I wrote #pxzgrep, a wrapper around #xzgrep which can search through many compressed log files in parallel and—provided the hardware is capable enough—reduce search times from many days to a few hours: https://github.com/ETHZ-IT-SeC/pxzgrep

Cc @ttyS1

GitHub - ETHZ-IT-SeC/pxzgrep: a parallel xzgrep wrapper

a parallel xzgrep wrapper. Contribute to ETHZ-IT-SeC/pxzgrep development by creating an account on GitHub.

GitHub

@ttyS1: I also use "#ack" (or "#ag") occasionally.

But often it's too slow and less well integrated (like e.g. into #zutils or "#xzgrep"). Especially when I have to search through log files.

And for code bases, I usually use "#git #grep" which does keep out the uninteresting files as well, although in a completely other way.

One thing I though love about "ack" is its "--passthru" (yes, without "o" and "gh") option to highlight all occurrences of a pattern inside a text or directory.

Cc @cks