view move-if-change @ 65542:b695b0dc3532

(overlay_arrow_at_row): Add HAVE_WINDOW_SYSTEM conditional. (display_mode_element): Instead of `lisp_string' and `this', record `offset' and increment that. `last_offset' replaces `last'.
author Richard M. Stallman <rms@gnu.org>
date Thu, 15 Sep 2005 13:16:53 +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