4 ms·
Disclosure: I'm the author of ripgrep. As a sibling comment mentioned, assuming you're .gitignore files exclude all of that stuff from your repo, you should be
by burntsushi 4y ago
Disclosure: I'm the author of ripgrep.
As a sibling comment mentioned, assuming you're .gitignore files exclude all of that stuff from your repo, you should be able to just run 'rg "text to find"' to replace all of that. And use 'rg "text to find" -tcpp' if you want to limit it to C++ files.
I had similar scripts for recursive grep like that too. ripgrep replaced all of them.