for i in `ls *.f`
do 
sed 's/SECOND/VEMSCD/g' $i > $i.2
mv $i.2 $i
done
