Closed murlakatamenka closed 4 years ago
Yes, this would be a nice addition to rnr
. I will take a look at this feature to include it in the next release. Thanks for the feedback!
I added the diff feature in the colored version of the output. It is currently in master but I will include it in the next release.
Awesome, thanks!
Hi, thanks for
rnr
!It would be nice to highlight in color what is replaced with what in a dry-run mode.
Useful cases:
That's how
ripgrep
highlights found matches by default, for instance (rg fn
):Or another toy example (
echo barfoobar | rg bar --replace baz
):What do you think?