view move-if-change @ 54364:935dc2deee34

(x_list_fonts, x_get_font_info, x_load_font) (x_query_font, x_find_ccl_program, x_set_window_size) (x_make_frame_visible, mac_initialize, XCreatePixmap) (XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground) (mac_draw_line_to_pixmap): Move prototypes to macterm.h.
author Kim F. Storm <storm@cua.dk>
date Thu, 11 Mar 2004 22:43:18 +0000 (2004-03-11)
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