view move-if-change @ 30456:597562b7a8c6

(enriched-face-ans): For a `foreground-color' property, return '(("x-color" COLOR))' so that COLOR will be output as a parameter of the x-color annotation. Likewise for the `background-color' property. In the case of normal face properties, don't return annotations for unspecified foreground and background face attributes.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 25 Jul 2000 16:05:25 +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