repo.or.cz
/
bills-tools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
initial commit
[bills-tools.git]
/
calc
/
calcrc
blob
a9241d817d31d4051f4bdf03f1efd23adee49883
1
#!/usr/bin/env rc
2
while (line=`{read}) {
3
CALC_VARS=($CALC_VARS `{echo $line|sed -e 's/^([^=]*)=.*/\1/'})
4
eval $line
5
eval 'CALC_OLD_'$line
6
}
7
. $1
8
for (v in $CALC_VARS) {
9
if (test $$v '!=' $(CALC_OLD_$v)) echo $v '=' $$v
10
}