Hacker News new | ask | show | jobs
by cess11 760 days ago
Nah.

   $ rg 'sear' -r 'repl' file.txt
1 comments

That only replaces in the output. ambr seems to actually modify the file contents, like `sed -i`. ripgrep never modifies the contents of files.
Right, can use --passthru and > or sponge to write it to disk.

Edit: Oh, it's you. Thanks for a brilliant tool, I use it every workday and have been for years.