case | bash | mksh | description |
0 | pass | pass | pass array by reference |
1 | pass | BUG | pass assoc array by reference |
details | |||
2 | pass | BUG | pass local array by reference, relying on DYNAMIC SCOPING |
details | |||
3 | pass | BUG | Var ref with ${!a} |
details | |||
4 | pass | BUG | Bad var ref with ${!a} |
details | |||
5 | pass | pass | Nested ${} |
8 passed, 0 ok, 0 known unimplemented, 4 known bugs, 0 failed, 0 skipped
mksh | 1 pass assoc array by reference stdout: [monday]=eggsstderr: |
mksh | 2 pass local array by reference, relying on DYNAMIC SCOPING stdout: stderr: /bin/mksh: <stdin>[7]: syntax error: '(' unexpected |
mksh | 3 Var ref with ${!a} stdout: ref astderr: |
mksh | 4 Bad var ref with ${!a} stdout: ref astderr: |