I maintain a pair of tools that can do in-place file replacements on ripgrep output (https://github.com/robenkleene/rep-grep) and rename files based on `fd` output (https://github.com/robenkleene/ren-find).
> If ripgrep never performs writes, there's never a chance of a mistake in usage or bug in the software clobbering files in bulk.
Yeah that's exactly why it doesn't.
It is true that the `-r/--replace` flag can replace a number of `sed` and `awk` use cases. It has for me at least.
I guess it does make sense now that I think about it that ripgrep wouldn't do in-place edits. If ripgrep never performs writes, there's never a chance of a mistake in usage or bug in the software clobbering files in bulk.