view move-if-change @ 101967:1127170a5c39

(MAX_AUTO_COMPOSITION_LOOKBACK): New macro. (composition_gstring_width): Fix handling of LGLYPH_YOFF. (autocmp_chars): Use fast_looking_at. Don't compose more characters than MAX_COMPOSITION_COMPONENST. (find_automatic_composition): While looking forward and backward, check static composition. Fix where to stop looking forward. (composition_adjust_point): Fix checking of static composition. (Fcomposition_get_gstring): Pay attention to MAX_COMPOSITION_COMPONENST.
author Kenichi Handa <handa@m17n.org>
date Thu, 12 Feb 2009 06:06: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