Now I need to make a simple change in all files in all subdirectories of the current directory. So here is a learning opportunity. I have Camel at my elbow and the docs on the screen -- but the switch options are a bit dizzying.
Here's my attempt: %perl -ne 's/old/new/g' ./*/* This is mission-critical so I need to get it right. (I am backing up the whole mess.) Am I on the right track?
In reply to Need one-liner to s///g in all sub-dirs by dvergin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |