view move-if-change @ 99900:f42d7c051576

(calc-settings-file, calc-language-alist) calc-embedded-announce-formula, calc-embedded-announce-formula-alist) calc-embedded-open-formula, calc-embedded-close-formula) calc-embedded-open-close-formula-alist) calc-embedded-word-regexp-alist, calc-embedded-open-plain) calc-embedded-close-plain, calc-embedded-open-close-plain-alist) calc-embedded-open-new-formula, calc-embedded-close-new-formula) calc-embedded-open-close-new-formula-alist, calc-embedded-open-mode) calc-embedded-close-mode, calc-embedded-open-close-mode-alist) calc-gnuplot-name, calc-gnuplot-plot-command) calc-gnuplot-print-command, calc-multiplication-has-precedence): Remove unnecessary asterisks from docstrings.
author Jay Belanger <jay.p.belanger@gmail.com>
date Tue, 25 Nov 2008 01:27:31 +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