view move-if-change @ 28393:aaa13b7caa88

Move provide to end. Doc fixes. (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables. (iso-iso2sgml, iso-sgml2iso): New functions. (iso-cvt-define-menu): Fix some entries and use backquote for clarity.
author Dave Love <fx@gnu.org>
date Wed, 29 Mar 2000 18:33:24 +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