view move-if-change @ 53944:e647f66db84b

Delete function ses-build-load-map and distribute its functions to defconst's for the three maps. Add menus. Use "ses--" prefixes for buffer-local variables. Use (point-min) instead of 1, even when we know the buffer is unnarrowed. New function ses-read-number duplicates some code from interactive "N" spec.
author Jonathan Yavner <jyavner@member.fsf.org>
date Sat, 14 Feb 2004 23:56:51 +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