view move-if-change @ 4472:a99eb40f0b5b

Correct an omitted word, expand on bignum equality in the lispref. 2008-05-29 Aidan Kehoe <kehoea@parhasard.net> * lispref/objects.texi (Equality Predicates): Expand on bignum equality; correct an omitted word in the last commit.
author Aidan Kehoe <kehoea@parhasard.net>
date Thu, 29 May 2008 18:53:45 +0200
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