view move-if-change @ 112108:c24551a0cd95

flow-fill.el (fill-flowed-encode): Do encoding citation-aware. gnus-art.el (gnus-treat-fill-long-lines): Add missing version tag. gnus-msg.el (gnus-message-replyencrypt): Fix typo in version string.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Tue, 04 Jan 2011 02:24:15 +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