view move-if-change @ 111256:d3a53e95c036

Correct some viewcvs links in docs and comments. * doc/misc/cc-mode.texi: Remove reference to defunct viewcvs URL. Instead, refer to the generic Savannah page, since it seems likely that Savannah will never provide the equivalent service for GNU bazaar. The other option would be to use the Git mirror URL, since it seems to be being updated now, and of course browsing Git repos works just fine. That would be a pretty poor advert for the GNU system though. * etc/MH-E-NEWS: Update URL (viewcvs -> viewvc). * lisp/net/tramp-fish.el: Update URL in comment (viewcvs -> viewvc).
author Glenn Morris <rgm@gnu.org>
date Thu, 28 Oct 2010 20:19:33 -0700
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