See perlrun for details on the command line switches. You can include an extension after -i and it will keep backups for you, as in -i.bak for instance.$ cd $1 $ perl -i -w script.pl *.$2
In reply to Re: Opening, and editing multiple files?
by quester
in thread Opening, and editing multiple files?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |