view move-if-change @ 66571:beb6b92a94f6

(mh-compose-space-does-completion-flag, mh-signature-separator-flag) (mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag): Use "Non-nil means" instead of "On means" to remain checkdoc clean and consistent with Emacs. I raised this issue with the Emacs developers and Stallman agrees that "On means" should be allowed in custom docstrings but that this change requires thought and should wait until after the Emacs 22 release.
author Bill Wohler <wohler@newt.com>
date Mon, 31 Oct 2005 01:37:30 +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