Denys Vlasenko
|
1be73dd9ad
shell: fix parsing of $(( (v)++ + NUM ))
|
3 years ago |
Denys Vlasenko
|
d84a604830
shell: fix arithmentic evaluation of "++7" and such (it is + + 7, i.e. 7)
|
3 years ago |
Denys Vlasenko
|
841878e7ee
shell: remove FAST_FUNC from a static function
|
4 years ago |
Denys Vlasenko
|
7427406580
shell: better comments in BASE#nn code
|
5 years ago |
Denys Vlasenko
|
c58d785b9d
ash: fix BASE###nn bashism for bases 36..64
|
5 years ago |
Denys Vlasenko
|
ca1ce4b9fa
ash: fix BASE###nn bashism to accept letter 'digits' for bases > 9
|
5 years ago |
Denys Vlasenko
|
8b35f207bb
shell: move all definitions of strto_arith_t() together
|
5 years ago |
Denys Vlasenko
|
9edd268bad
shell: implement optional "BASE#nnnn" numeric literals
|
5 years ago |
Denys Vlasenko
|
f19e3c1c6c
shell: handle $((NUM++...) like bash does. Closes 10706
|
7 years ago |
Denys Vlasenko
|
95f7953f2c
do not use `a' quoting style in comments
|
7 years ago |
Denys Vlasenko
|
f5add44981
typo fix in comment
|
10 years ago |
Denys Vlasenko
|
8a475def9e
ash,hush: do not segfault on $((2**63 / -1))
|
10 years ago |
Denys Vlasenko
|
1961aea305
move endofname() to libbb
|
12 years ago |
Denys Vlasenko
|
60cb48ca50
whitespace cleanup. no code changes
|
12 years ago |
Denys Vlasenko
|
395b97aeac
shell/math: better comment. no code changes
|
14 years ago |
Denys Vlasenko
|
bed7c81ea2
shell/math: deconvolute and explain ?: handling. Give better error message
|
14 years ago |
Denys Vlasenko
|
063847d6bd
shell/math: return string error indicator, not integer
|
14 years ago |
Denys Vlasenko
|
0eac8ff164
shell/math.c: stop using bss variable
|
14 years ago |
Denys Vlasenko
|
06d44d7dfb
shell/math.c: rename arith_eval_hooks to arith_state, put error code into it
|
14 years ago |
Denys Vlasenko
|
bd14770b0c
shell/math.c: small code shrink; fixed incomprehensible comments
|
14 years ago |
Denys Vlasenko
|
51850c818c
shell: small code shrink
|
14 years ago |
Denys Vlasenko
|
b771c654ca
shell: shrink arith code; and prepare for returning text error codes
|
14 years ago |
Denys Vlasenko
|
8b2f13d84d
shell: unify endofname() in hush and ash
|
14 years ago |
Denys Vlasenko
|
0ef64bdb40
*: make GNU licensing statement forms more regular
|
14 years ago |
Denys Vlasenko
|
03dad22f8a
hush: use ash's read builtin
|
15 years ago |
Denys Vlasenko
|
7306727d1b
shell: split read builtin from ash
|
15 years ago |
Denys Vlasenko
|
76ace254e1
ash,hush: fix $RANDOM in children being repeated
|
15 years ago |
Denys Vlasenko
|
a7bb3c1396
*: code shrink via NOINLINE
|
15 years ago |
Denys Vlasenko
|
71016baf55
printf: accept negative numbers for %x; sh: overflowed numbers are 0
|
15 years ago |
Denis Vlasenko
|
1943aec2ec
hush: plug the leak of expanded heredoc
|
15 years ago |