Mercurial > emacs
view move-if-change @ 58102:57dc7bb5ee57
(calc-init-extensions): Remove old code.
(math-expr-data, math-mt-many, math-mt-func, calc-z-prefix-buf)
(calc-z-prefix-msgs): New variables.
(calc-z-prefix-help, calc-user-function-list): Use declared variables
calc-z-prefix-buf, calc-z-prefix-msgs.
(math-normalize-nonstandard): Use declared variable math-normalize-a.
(math-map-tree, math-map-tree-rec): Use declared variables
math-mt-many, math-mt-func.
(math-read-expression, math-read-string): Use declared variable math-expr-data.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Tue, 09 Nov 2004 20:29:34 +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