view move-if-change @ 73692:1cf33b77992b

(info-lookup-guess-custom-symbol): New function for retrieving symbol at point in custom buffers. (top level) <info-lookup-maybe-add-help>: Add backquote and comma to ignored characters in regexps of help specifications for emacs-lisp-mode and lisp-interaction-mode. This permits looking up symbols in `...' and after a comma. Add help specifications for custom-mode and help-mode.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 05 Nov 2006 12:04:42 +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