view move-if-change @ 89791:3e22bfaa44de

(japanese-ucs-cp932-to-jis-map): Renamed from japanese-ucs-cp932-map. (japanese-ucs-jis-to-cp932-map): Renamed from japanese-ucs-jis-map. (japanese-ucs-glibc-map): Delete this tranlastion table. (japanese-ucs-glibc-to-jis-map): New tranlastion table. (japanese-ucs-jis-to-glibc-map): New tranlastion table.
author Kenichi Handa <handa@m17n.org>
date Mon, 02 Feb 2004 11:43:19 +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