Try this instead:
If you wanted it all in perl, you could use the File::Find module after a simple find2perl.find . -name '*.c' -exec perl -pi.bak -e 's/name1/name2' {} \;
In reply to Re: inplace edit
by archon
in thread inplace edit
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |