view move-if-change @ 44523:5fb0858a11da

(command_loop_1): Turn off transient-mark-mode rather than deactivating the mark if tmm is set to `lambda'. (gen_help_event, kbd_buffer_store_help_event, kbd_buffer_get_event): Use a single event for HELP_EVENT. (Fexecute_extended_command): Save last_point_position.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 12 Apr 2002 05:50:15 +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