#xzgrep — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #xzgrep, aggregated by home.social.
-
@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
-
@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