view move-if-change @ 40366:e2acdd1b8bb7

(move_it_vertically_backward): Use 2/3 line_height instead of 1/2 line_height in the heuristic for skipping farther backward when target_y was not reached.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 27 Oct 2001 08:54:39 +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