view move-if-change @ 45066:a770c1eeff8c

Yet more doc string, commment and whitespace changes. (f90-imenu-flag): New name for internal variable f90-imenu. (f90-blocks-re, f90-program-block-re, f90-end-if-re, f90-no-break-re): Use regexp-opt. (f90-end-type-re): Add closing "\\>". (f90-indent-region): Correctly indent comments embedded in continued lines. (f90-indent-new-line): Make it indent the current line, as it should.
author Glenn Morris <rgm@gnu.org>
date Wed, 01 May 2002 15:29:30 +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