view move-if-change @ 110177:6d74afef6e68

Fix display of composed R2L text on MS-Windows. w32uniscribe.c (uniscribe_shape): Update commentary. Don't try to reorder grapheme clusters, since LGSTRING should always hold them in the logical order. (uniscribe_encode_char, uniscribe_shape): Force ScriptShape to return glyph codes in the logical order.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 04 Sep 2010 18:16:08 +0300
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