view move-if-change @ 73013:6ebbc42247b3

(Fset_window_hscroll, Fpos_visible_in_window_p): Doc fix. Use "off-window" instead of "off-screen". (Fpos_visible_in_window_p): Likewise. If POS is t, return info for last visible glyph in window.
author Kim F. Storm <storm@cua.dk>
date Wed, 20 Sep 2006 09:43:25 +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