4 ms·
Nah. $ rg 'sear' -r 'repl' file.txt
by cess11 2y ago
Nah.
$ rg 'sear' -r 'repl' file.txt
- burntsushi 2y agoThat only replaces in the output. ambr seems to actually modify the file contents, like `sed -i`. ripgrep never modifies the contents of files.
- cess11 2y agoRight, 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.