1514
Real examples here?
(discuss.tchncs.de)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
What does that offer offer grep/egrep
much faster
proper unicode (and other encodings) support
automatic recursion (no extra flags needed)
can search inside compressed files/archives like gz/xz/zip (also see ripgrep-all) for even more archive support)
honors
.gitignore
and ignores binary/hidden filesprobably a lot more things too
Speed and memory efficiency, mostly. If you ever have to grep for something in a large number of files ripgrep will be done while regular grep will only be reaching the 25% mark.