view move-if-change @ 904:47c30044fc4e

[xemacs-hg @ 2002-07-06 18:56:24 by adrian] [R21.4] [PATCH] xemacs-21.5: Fix improper use of indef. art. "a" -------------------- ChangeLog entries follow: -------------------- man/ChangeLog addition: 2002-07-06 Adrian Aichner <adrian@xemacs.org> * new-users-guide/custom1.texi (Customizing key Bindings): Fix improper use of indef. art. "a". 2002-07-06 Adrian Aichner <adrian@xemacs.org> * lispref/commands.texi (Peeking and Discarding): Ditto. * lispref/customize.texi (Type Keywords): Ditto. * lispref/dragndrop.texi (Drop Interface): Ditto. 2002-07-06 Adrian Aichner <adrian@xemacs.org> * termcap.texi (Clearing): Ditto. * widget.texi (User Interface): Ditto. * widget.texi (Basic Types): Ditto. * widget.texi (group): Ditto.
author adrian
date Sat, 06 Jul 2002 18:56:31 +0000
parents 376386a54a3c
children
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