Hacker News new | ask | show | jobs
by kstrauser 751 days ago
Ripgrep lacks the “& replace” bit.
1 comments

Nah.

   $ rg 'sear' -r 'repl' file.txt
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.