3 ms·
Gsub: A CLI tool for string substitutions in a directory
- wffurr 5y agoThis tool presents itself as a much faster and ergonomic alternative to shell pipelines with sed. e.g. rg foo --files-with-matches | xargs sed -i 's/foo/bar/g' becomes gsub "foo" "bar" And runs significantly faster. I don't know if I'll install it, but it's an interesting concept.