view move-if-change @ 50356:933b5f877c91

(frame_parm_handler): New typedef. (struct redisplay_interface): New member frame_parm_handlers. (enum resource_types): Move declaration here. (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg) (x_default_parameter): Add prototypes.
author Kim F. Storm <storm@cua.dk>
date Mon, 31 Mar 2003 20:33:14 +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