Fuzzy search in text files

Fuzzy search in text files

There are tools like agrep and faster one called glimpse.

apt install agrep glimpse

agrep je isto kao grep, samo fuzzy https://man.cx/agrep

glimpse je agrep, ali traži ceo disk kao “locate” https://man.cx/glimpse pravljenje index-a: glimpseindex -o ~/mydocs onda search AND i slično

da bi tražio jebeno po file pattern, moraš kombinaciju find i agrep. Zato mi je glimpse nekako lakši… a valjda i brži

postoji i https://github.com/schollz/goagrep što je otprilike isto što i glimpse

glimpseindex -o /c/Storage/Dropbox/Treasury

[glimpse manual pages](https://man.cx/glimpse)



---

tražio sam: vscode fuzzy "find in files"

Woow:

[How FZF and ripgrep improved my workflow](https://sidneyliebrand.io/blog/how-fzf-and-ripgrep-improved-my-workflow)
https://news.ycombinator.com/item?id=20360204

[BurntSushi/ripgrep: ripgrep recursively searches directories for a regex pattern](https://github.com/BurntSushi/ripgrep)
[junegunn/fzf: A command-line fuzzy finder](https://github.com/junegunn/fzf)

scoop install ripgrep
scoop install fzf

Probaj:
rg --files | fzf

---
date 01. Jan 0001 | modified 29. Dec 2023
filename: Command Line » Fuzzy Search inside Text Files (XPS's conflicted copy 2023-11-09)
Article Content