3 ms·
I don't know about depressing, but eg grep is slow and lacks some quality of life features working with modern toolchains (aka git, but also codebase size). ag
by fragmede 2y ago
I don't know about depressing, but eg grep is slow and lacks some quality of life features working with modern toolchains (aka git, but also codebase size). ag and rg both read .gitignore if there is one (disable with rg -uuu); for today's multi-language repos, ag can look inside a specific language's files eg ag --go or ag --js.
- jraph 2y agoI need to try ag. I usually use rg, which is way faster than grep for searching many repositories at once. But one of my tasks involves searching things in a single XML file of hundreds megabytes, or even several gigabytes, and for this, grep is way faster than rg apparently. So under the right conditions, grep is actually quite fast and you may be missing out if you never try using it.