view move-if-change @ 34833:aaf69bc74739

* gnus-art.el (gnus-article-check-hidden-text): Return t. * gnus-util.el (gnus-remove-text-properties-when): Return t. * mm-decode.el (mm-dissect-multipart): Avoid errors owing to malformatted messages.
author ShengHuo ZHU <zsh@cs.rochester.edu>
date Fri, 22 Dec 2000 14:19:33 +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