view move-if-change @ 70453:20fe674eccfb

(Introduction): Reword to make consistent with printed version only. (MS-DOS): Renamed from "MS-DOG". All references updated. (Daylight Savings): Remove this node: it is an exact duplicate of its name-sake in calendar.texi. <Top level>: Remove the body of all chapters and move them to the new *-xtra.texi files. Use @raisesections and @lowersections to convert sections to chapters etc.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 06 May 2006 13:01:14 +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