view move-if-change @ 60626:20a8e6e5ae57

Update error messages for `debug-ignored-errors'. (Info-isearch-search): Doc fix. (Info-find-node): Move up code to go into info buffer before recording the node to the history. (Info-fontify-node): Fontify titles only if the next line has two or more `*', `=', `-', `.'. Display "go to this node" for empty (match-string 3).
author Juri Linkov <juri@jurta.org>
date Wed, 16 Mar 2005 07:32:43 +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