Adding interfaces/emacs/imaxima/texinfo.tex to gitignore (created by automake)
[maxima.git] / archive / bin / move-if-change
blob8f351ca19b039a135864fd3d8566a08687919adb
1 if
2 test -r $2
3 then
4 if
5 cmp $1 $2 > /dev/null
6 then
7 echo $2 is unchanged
8 rm $1
9 else
10 mv $1 $2
12 else
13 mv $1 $2