view move-if-change @ 106550:562676f8dfb2

(struct text_pos): Use EMACS_INT; (struct glyph): Use EMACS_INT for charpos. (struct it): Use EMACS_INT for stop_charpos, end_charpos, region_beg_charpos, region_end_charpos, redisplay_end_trigger_charpos, and also for iterator_stack_entry.end_charpos and iterator_stack_entry.stop_charpos.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 12 Dec 2009 13:40:43 +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