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
Used by the toybox touch test suite (and thus necessary to pass the toybox
tests on a toybox-only system).
---
tests/date.test | 10 ++
toys/posix/date.c | 50 +++---
2 files changed, 49 insertions(+), 11 deletions(-)
From