view move-if-change @ 536:8f3fb4fd879b

[xemacs-hg @ 2001-05-14 05:05:09 by mta] * dragdrop.el (experimental-dragdrop-drop-url-default): If event has no window, use one from the frame in the event * frame-msw.c (mswindows_make_frame_visible): Call SetActiveWindow to make the frame the active window.
author mta
date Mon, 14 May 2001 05:05:14 +0000
parents 376386a54a3c
children
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