view move-if-change @ 63680:834cdf15f68b

(International): List all supported scripts. Adjust text for that leim is now included in the normal Emacs distribution. (Language Environments): List all language environments. Intlfonts contains fonts for most supported scripts, not all.. (Select Input Method): Refer to C-u C-x = to see how to type to input a specifc character. (Recognize Coding): Fix typo, china-iso-8bit -> chinese-iso-8bit.
author Kenichi Handa <handa@m17n.org>
date Thu, 23 Jun 2005 05:26:58 +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