perl has convenient command line syntax for substitution of files
perl -pe 's/key/replace/g' file
I am wondering what is the one liner syntax for substitution of string?
perl -pe 's/key/replace/g' string
doesn't work. It will complain
Can't open ppp: No such file or directory.