# !/bin/sh
# Do global replacement of string in all source code files.
# I use this all the time, but I advise you to be careful
# -Fusion
for file in *.cc *.h 
do
sed -e "s/$1/$2/g" $file > ${file}.temp
mv ${file}.temp $file
done