Agrep

From wikinotes

agrep is grep, but with additional fuzzy matching.

Documentation

man agrep https://manpages.debian.org/buster/glimpse/agrep.1.en.html

Tutorials

linux magazine https://www.linux-magazine.com/Issues/2016/186/Command-Line-tre-agrep
christoph's personal wiki http://wiki.christophchamp.com/index.php?title=Agrep

Install

sudo pacman -S tre

Usage

# '-1' allows matches with 1 char different
find . -name '.git' | agrep -1 'mui'
./progs/lang/python/multivolumecopy/.git
./progs/systems/qemu/.git