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
Pretty much every basic terminal command for linux. Grep is the one that comes to mind.
The modern man uses
ripgrep
๐But it's three more letters. No deal.
Its going installed binary is
rg
.I shall begrudgingly consider it then, with much begrudgement.
You joke but this is facts
Alias. To
gr
, even!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.