view move-if-change @ 85302:bc8b741390b0

(documentation): Advice deleted. Doc for advised functions is now handled at C level. (ad-stop-advice, ad-start-advice): Don't enable or disable advice for `documentation'. (ad-advised-definition-docstring-regexp): Var deleted. (ad-make-advised-definition-docstring): Store orig name as text property of string. (ad-advised-definition-p): Check for text property of docstring.
author Richard M. Stallman <rms@gnu.org>
date Sun, 14 Oct 2007 22:46:38 +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