sed -i 's/old/new/g'
alone would have saved me lot of time instead of fiddling with a perl script everytimeAlso, I would've liked to understand shell concepts like file redirections, command substitution, parameter expansion, difference between stdout/stderr, why sometimes I got an error for too many file arguments, or even knew that there existed sites like https://mywiki.wooledge.org/BashFAQ and stackoverflow/unix.stackexchange and https://www.shellcheck.net/ and https://explainshell.com/ and so on.