view move-if-change @ 52402:9c467b1dba23

(standard-display-european-internal): Don't use char code for Latin-1 NBSP. <XFree86 4>: Unfrob NBSP display table. Set display table to use U+2018, U+2019 for `'. (select-safe-coding-system): Message fix.
author Dave Love <fx@gnu.org>
date Mon, 01 Sep 2003 18:14:22 +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