Discussion:
[PATCH] Use $(( rather than $[ for arithmetic in expand.test.
(too old to reply)
enh
2017-04-15 18:28:50 UTC
Permalink
Raw Message
I can't find any reference to $[ for arithmetic on the bash man page, but it
seems to be a synonym for $((. mksh doesn't support this, so the expand
tests
that use it fail on Android. No other toybox tests are using $[.
---
tests/expand.test | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Loading...