view move-if-change @ 43975:dc3bbf710182

(ucs-unify-8859, ucs-fragment-8859): Use unify-8859-on-decoding-mode. (unify-8859-on-decoding-mode): Also set translation-table-for-input. (ucs-insert): Give an error if the unicode char can't be created.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 17 Mar 2002 20:50:30 +0000
parents 354e0c45cedf
children 14a97ab281d5
line wrap: on
line source

#!/bin/sh
if
test -r $2
then
if
cmp $1 $2 > /dev/null
then
echo $2 is unchanged
rm -f $1
else
mv -f $1 $2
fi
else
mv -f $1 $2
fi