]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambda_delta/replace.sh
refactoring ...
[helm.git] / matita / matita / contribs / lambda_delta / replace.sh
1 #!/bin/sh
2 for V in `cat Make`; do
3    echo ${V}; sed "s/$1/$2/g" ${V} > ${V}.new
4    if diff ${V} ${V}.new > /dev/null; 
5       then rm -f ${V}.new; else mv -f ${V}.new ${V}; fi
6 done
7
8 unset V