view move-if-change @ 47702:e0786a68f34e

(ccl-decode-koi8): Refer to ucs-translation-table-for-decode. (ccl-decode-koi8-u): Likewise. (ccl-decode-alternativnyj): Likewise. (cyrillic-koi8): Put `dependency' property. (koi8-u): Likewise. (cyrillic-alternativnyj): Likewise.
author Kenichi Handa <handa@m17n.org>
date Mon, 30 Sep 2002 06:34:40 +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