view move-if-change @ 37835:a4f04496cfb0

Update description of visiting multiple files with the command line. .esrv => esrv. Remove DOMMAINNAME. Show that some parts of geometry spec are optional. Clarify where internal border appears. Fix errors in BorderWidth resources. Use Complete Word instead of Spell-Check Message to avoid an overfull box in a clean way.
author Richard M. Stallman <rms@gnu.org>
date Sun, 20 May 2001 16:31:07 +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