[GoLUG] Fuzzy spelling helper

Steve Litt slitt at troubleshooters.com
Fri Apr 24 09:51:38 EDT 2026


Hi all,

One reason I like belonging to GoLUG is all the stuff I learn. A few
meetings ago I learned about fzf, a fuzzy picklist tool, and have used
it for several things.

For decades I've used my regex based command called dict, whose
shellscript follows:

cat /usr/share/dict/words | grep -i "$1"

Very nice, but when my idea of the spelling badly clashed with reality,
it didn't work. I renamed that shellscript dictstrict, and changed dict
to the following:

cat /usr/share/dict/words | fzf

With fzf's fuzzy logic, I was able to look up "mnemonic" I didn't know
whether the word began with p, I didn't know anything, but fzf found it
after I typed in a few letters.

SteveT

Steve Litt 
http://444domains.com


More information about the GoLUG mailing list