1if [ ! -f $1 ] 2then 3 exit 0 4fi 5 6diff $1 $2 > /dev/null 7if [ $? -ne 0 ] 8then 9 cp -f $1 $2 10fi 11