view move-if-change @ 45890:afcf154bf656

2002-06-17 Andrew Choi <akochoi@shaw.ca> * macterm.c (mac_scroll_area): Set foreground and backcolor to black and white before scrolling. Restore frame background and foreground color after scrolling. (do_window_update): Call XClearWindow before calling expose_frame. (make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL of frame.
author Andrew Choi <akochoi@shaw.ca>
date Tue, 18 Jun 2002 05:33: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