view move-if-change @ 103614:64011e3b89f5

* xterm.c (x_update_window_begin, x_new_focus_frame) (x_scroll_bar_handle_click, handle_one_xevent) (handle_one_xevent, XTread_socket, x_focus_on_frame) (x_make_frame_visible, x_make_frame_invisible) (x_wm_set_icon_pixmap, x_initialize): Delete some #ifdef-ed out code chunks that are now obsolete.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 28 Jun 2009 15:32:20 +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