view move-if-change @ 39799:99f30ac48ec0

(list-faces-display, describe-face): Fix args to `help-xref-button'. (describe-face): Don't switch to help-buffer around call to `help-setup-xref'. Use `help-buffer' instead of hard-wired "*Help*". Require `help-mode'.
author Miles Bader <miles@gnu.org>
date Fri, 12 Oct 2001 01:53:58 +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