view move-if-change @ 55351:07c85e772ee2

(help-argument-name): New face, inheriting from font-lock-variable-name-face, to highlight function arguments in `describe-function' and `describe-key'. (help-do-arg-highlight): Auxiliary function to highlight a given list of arguments in a string. (help-highlight-arguments): Highlight the function arguments and all uses of them in the docstring. (describe-function-1): Use it. Do docstring output via `insert', not 'princ', so text attributes are preserved.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 04 May 2004 00:20:00 +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