view move-if-change @ 88289:2d481143eb08

(rmail-narrow-to-non-pruned-header): Deleted. (rmail-unknown-mail-followup-to, rmail-retry-failure): No longer call rmail-narrow-to-non-pruned-header and replace mail-fetch-field with rmail-header-get-header because that one ignores the intangible property when searching. (rmail-show-message): Simplify x-coding-system handling. (rmail-redecode-body): No longer call rmail-header-show-headers because rmail-header-get-header handles the intanglible property. (rmail-reply): Simplify code at the price of some efficiency when setting up the variable bindings. No longer toggle visibility of headers, because rmail-header-show-headers is no longer necessary.
author Alex Schroeder <alex@gnu.org>
date Mon, 23 Jan 2006 23:20:56 +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