4 ms·
Why? Does ripgrep not work as well (or better) than grep in a script? And if so, why not? Or is because you deploy your scripts to other machines where ripgrep
by vram22 8y ago
Why? Does ripgrep not work as well (or better) than grep in a script? And if so, why not?
Or is because you deploy your scripts to other machines where ripgrep may not be present, but grep will?
- jolmg 8y agoScripts tend to be shared, so portability matters. grep alternatives, while great for interactive use, are generally not worth being an extra dependency to install.
- earenndil 8y agoGrep is: * Deterministic * Standard * Written in c * Equally performant (where it matters) * Doesn't show colour or line numbers unless I tell it to * Doesn't watch .gitignores unless I tell it to
- executesorder66 8y agoI use rg on all my scripts that I won't be sharing with others. Anything that needs to be used by other people / needs to be run on any machine that I don't control, uses grep instead.