@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

#zutils are compressed data handlers.

zutils is a collection of simple tools that transparently handle a mix of uncompressed and compressed data in a number of formats. zutils includes zcat (for decompression), zdiff, zgrep, and ztest (for integrity checks). zutils handles #gzip, #bzip2, #xz, and #lzip in any combination.

Website 🔗️: https://www.nongnu.org/zutils/zutils.html

apt 📦️: zutils

#free #opensource #foss #fossmendations #sysadmin

Zutils - Utilities dealing with compressed files

Compressor utilities

@adi: #atool also contains adiff and als. I just always miss agrep. But for that we have #zutils which provides an alternative zgrep (and friends) implementation which understands all the common unix-ish compression formats, namely gzip, bzip2, xz, lzma, and lzip — just not zip which seems more popular in the Windows (and DOS ;-) world.