That has some caveats. First, you shouldn't use a glob as an argument to that for security reasons. Also, that will create backup files named with .bak, just in case you make a mistake. Finally, if that string appears more than once and you want all instances lowercased, add a /g to the substitution.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: please help on subsituting a pattern in a file
by sauoq
in thread please help on subsituting a pattern in a file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |