view move-if-change @ 75627:d20bdbec004c

(texinfo-menu-copy-old-description): Don't copy @ignore lines into menu descriptions. (texinfo-multi-file-update): Goto the @node line before attempting to pluck the node name. (texinfo-multiple-files-update): Reverse the optional arguments' order, as per the doc string and the `interactive' form.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 03 Feb 2007 14:01: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