Date: January 20, 2001
Here's a Perl trick that can simplify editing multiple files to make the same change. To illustrate, the following command changes all occurances of "LOTUS" to "IBM" in all files in the current directory.
$ perl -p -i -e "s/LOTUS/IBM/g" *
As with any global change command, be sure to back up the files before running the command.
Bruce Spencer,
baspence@us.ibm.com
January 20, 2001