view move-if-change @ 47479:c25e0ce03c50

From Stefan Monnier Add a \ in front of open-paren-in-column-0 in docstrings. Otherwise indentation and font-lock get confused. (idlwave-function-menu): Use defalias so the funs are called interactively. Don't rely on knowledge about which Emacs provides imenu or func-menu. (idlwave-calculate-cont-indent): Fix typo. (idlwave-font-lock-keywords-*): Don't use setq on a defconst. Remove unused variables.
author J.D. Smith <jdsmith@as.arizona.edu>
date Fri, 13 Sep 2002 22:19:48 +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