$ ruplacer old new src/
Patching src/a_dir/sub/foo.txt
-- old is everywhere, old is old
++ new is everywhere, new is new
Patching src/top.txt
-- old is nice
++ new is nice
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I wrote a command-line tool with this purpose I think you would enjoy.
It's called ruplacer and here's how it works: