view move-if-change @ 26994:be1938426575

(GLYPH): Defined as `int', not `unsigned int'. Now the lowest 8 bits are single byte character code, the bits above are face ID. (GLYPH_MASK_FACE) (GLYPH_MASK_CHAR): Adjusted for the change above. (FAST_MAKE_GLYPH) (FSST_GLYPH_FACE): Likewise. (GLYPH_MASK_REV_DIR) (GLYPH_MASK_PADDING): Macros deleted.
author Kenichi Handa <handa@m17n.org>
date Mon, 27 Dec 1999 05:03:46 +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