view move-if-change @ 102369:d88765fc7366

(Rmail Deletion): Revert previous change, which was describing the Rmail summary versions. (Rmail Reply): Give more details of rmail-dont-reply-to-names. Minor re-wording for rmail-resend. (Rmail Make Summary): Summaries apply to buffers rather than files. <rmail-summary-by-topic>: Headers includes the subject. <rmail-summary-by-recipients, rmail-summary-by-topic>: Give more details, including prefix arguments. Not counting lines might be faster. (Rmail Summary Edit): More details on the delete commands. Add rmail-summary-bury. (Rmail Display): Mention rmail-displayed-headers. Fix typo. Simplify rmail-highlighted-headers description. Update face name.
author Glenn Morris <rgm@gnu.org>
date Tue, 03 Mar 2009 04:16:29 +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