at the command line will do the job Using the above with perl -pi.bak .... will put the original file into a backup copy called <orig>.bakperl -pi -e "s/something_regexp/something_else/g;" <filenames>
In reply to Re: editing a file
by diarmuid
in thread editing a file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |