view move-if-change @ 107619:41011b06e0aa

Start working on invisible text. For now, just untested source changes. xdisp.c (handle_invisible_prop): Under bidi iteration, skip invisible text using bidi_get_next_char_visually. (handle_stop_backwards): Restore it->bidi_p, it->current and it->position before calling handle_stop. (next_element_from_buffer): Fix formatting.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 16 Jan 2010 11:11:37 -0500
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