view move-if-change @ 111132:dd114432ab01

Sync X and MS-Windows docs for x-use-underline-position-properties. * src/w32term.c (syms_of_w32term) <x-use-underline-position-properties>: Sync doc with the xterm.c version.
author Glenn Morris <rgm@gnu.org>
date Sat, 23 Oct 2010 18:22:37 -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