Sometimes there are surprises even for long-time developers and linux users. One of these is the commandline tool rpl
: , see https://manpages.ubuntu.com/manpages/jammy/man1/rpl.1.html
You don’t have to struggle with tools like sed
in combination with find
or grep
. Just use a single tool! For example:
rpl -v foo bar '**/*.txt'
It replaces “foo” with “bar” in all .txt files recursively.