view move-if-change @ 45760:1c3acb603967

font-core.el (font-lock-core-only): Variable deleted. All uses removed. (font-lock-set-defaults): Variable alist settings moved back into font-lock-set-defaults-1. (turn-on-font-lock-if-enabled): Always turn on font-lock unless it is specifically excluded by the user.
author Colin Walters <walters@gnu.org>
date Wed, 12 Jun 2002 04:51:07 +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