And why '-p' instead of '-n'.
Oops! Found another switch. I now submit: %perl -nie 's/old/new/g' ./*/*
In reply to Re(2): Need one-liner to s///g in all sub-dirs
by dvergin
in thread Need one-liner to s///g in all sub-dirs
by dvergin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |