Denys Vlasenko
|
62e433131b
|
shell: enable more tests which are passing now
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2021-09-25 22:35:17 +02:00 |
|
Denys Vlasenko
|
d84a604830
|
shell: fix arithmentic evaluation of "++7" and such (it is + + 7, i.e. 7)
function old new delta
evaluate_string 945 988 +43
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2021-09-25 22:04:45 +02:00 |
|
Denys Vlasenko
|
f19e3c1c6c
|
shell: handle $((NUM++...) like bash does. Closes 10706
function old new delta
evaluate_string 680 729 +49
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2018-01-28 20:13:33 +01:00 |
|
Denys Vlasenko
|
bed7c81ea2
|
shell/math: deconvolute and explain ?: handling. Give better error message
function old new delta
arith_apply 1271 1283 +12
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
2010-09-16 11:50:46 +02:00 |
|
Denys Vlasenko
|
063847d6bd
|
shell/math: return string error indicator, not integer
function old new delta
expand_and_evaluate_arith 87 106 +19
expand_one_var 1563 1570 +7
arith 12 18 +6
evaluate_string 678 680 +2
arith_apply 1269 1271 +2
builtin_umask 133 132 -1
ash_arith 118 75 -43
expand_vars_to_list 1094 1038 -56
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 5/3 up/down: 36/-100) Total: -64 bytes
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
|
2010-09-15 13:33:02 +02:00 |
|
Denis Vlasenko
|
1c660b4bd2
|
small ash testsuite, adapted from bash
(only a small part of it, actually)
|
2007-03-05 00:27:50 +00:00 |
|