view move-if-change @ 72497:6cc945ca398a

* startup.el (fancy-splash-head): Give instructions for dismissing the splash screen for default startup too. (display-startup-echo-area-message, fancy-splash-screens) (use-fancy-splash-screens-p): New arg hide-on-input. If nil, show all splash text at once and keep the splash buffer around. (command-line-1): Give display-startup-echo-area-message a t arg.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 23 Aug 2006 16:19:11 +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