try:
perl -pi -e 's/foo/bar/gms' File.txt
And see perlrun, to understand the flags -p, -i, and -e
They say that time changes things, but you actually have to change them yourself.
Andy Warhol
In reply to Re: find and replace
by JediWizard
in thread find and replace
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |