view move-if-change @ 28766:da7e00e4eaa6

(fs_load_font): By default, use 0x00..0x7f for ASCII. Check Vfont_encoding_alist against the full name of the opened font.
author Kenichi Handa <handa@m17n.org>
date Mon, 01 May 2000 00:57:23 +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