3 ms·
In the 1990s I used something called agrep, approximate grep, that did fuzzy matches. That can be useful when you don't know/remember the exact spelling of a st
by usr1106 6y ago
In the 1990s I used something called agrep, approximate grep, that did fuzzy matches. That can be useful when you don't know/remember the exact spelling of a string you are looking for. In theory you could write a regexp for such fuzzy search, but that's extremely tedious if done manually (and maybe the performance would be bad?).
Weirdly enough I have not found such tool recently.
- moonchild 6y agoagrep is a component of libtre - https://github.com/laurikari/tre/ https://github.com/laurikari/tre/
- usr1106 6y agoTrue, I found that a while ago, too. Don't remember what was the reason that I did not start using it again.
- vmchale 6y agoI use fzf in my terminal to search my history. https://github.com/junegunn/fzf https://github.com/junegunn/fzf
- usr1106 6y agoThat is a bit different than agrep, but looks very useful. I need to try it.