view move-if-change @ 40285:2869c6ed16fc

(texinfo-environments, texinfo-environment-regexp): Hoisted. (texinfo-font-lock-keywords): Use `italic' and `bold' faces. Only highlight the menu name in menu items. Setup `@foo ... @end foo' as text clones. (texinfo-clone-environment): New function. (texinfo-mode): Simplify auto-fill-inhibit-regexp. (texinfo-insert-block): Simplify. (texinfo-insert-quote): Insert a plain " if preceded by \ or if the command is repeated. (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs. (texinfo-insert-@end): Simplify.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 25 Oct 2001 03:54:21 +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