view move-if-change @ 26939:672e75118c0f

Remove Emacs 18 compatibility code. Prepend `cl-' to autoload names for some hash functions. Don't autoload eval-when-compile. Don't provide mini-cl. (cl-emacs-type): Remove. (cl-map-extents): Remove compatibility code.
author Dave Love <fx@gnu.org>
date Sat, 18 Dec 1999 17:00:52 +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