view move-if-change @ 27862:03d8d5f30d54

(command_loop_1): Call start_busy_cursor before Fcommand_execute and cancel_busy_cursor after it. (timer_check): Remove busy-cursor code. (Fread_key_sequence, Fread_key_sequence_vector): Start/cancel busy cursor timer.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 25 Feb 2000 13:30:50 +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