view move-if-change @ 31797:b9e108c1c1bf

Some doc fixes. (iswitchb-mode-map): Define completely initially. Inherit minibuffer-local-map. (iswitchb-completion-help) <!iswitchb-xemacs>: Use fundamental-mode. (iswitchb-global-map): New variable. (iswitchb-summaries-to-end): Amalgamate regexps. (iswitchb-mode): New. (iswitchb-mode-hook): New variable. (iswitchb) <defgroup>: Add URL link. Use group `completion', not `extensions'.
author Dave Love <fx@gnu.org>
date Wed, 20 Sep 2000 22:47:50 +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