view move-if-change @ 26998:02e902f732d1

(line_hash_code) (direct_output_for_insert): Adjusted for the change of struct glyph. (line_draw_cost): Adjusted for the change of GLYPH_FROM_CHAR_GLYPH. (count_match): Use macro GLYPH_CHAR_AND_FACE_EQUAL_P.
author Kenichi Handa <handa@m17n.org>
date Mon, 27 Dec 1999 05:06:03 +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