view move-if-change @ 110200:ca957835ff5a

Update to latest Unicode 6.0 beta data files. * admin/unidata/BidiMirroring.txt: Update from http://www.unicode.org/Public/6.0.0/ucd/BidiMirroring-6.0.0d2.txt * admin/unidata/UnicodeData.txt: Update from http://www.unicode.org/Public/6.0.0/ucd/UnicodeData-6.0.0d7.txt * lisp/international/uni-bidi.el: * lisp/international/uni-category.el: * lisp/international/uni-combining.el: * lisp/international/uni-decimal.el: * lisp/international/uni-mirrored.el: * lisp/international/uni-name.el: Regenerate. * src/biditype.h: Regenerate.
author Juanma Barranquero <lekktu@gmail.com>
date Sun, 05 Sep 2010 04:06:39 +0200
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