case | dash | bash | mksh | osh | description |
0 | pass | ok | ok | FAIL | Bad var sub |
details | details | details | |||
1 | pass | BUG | pass | pass | Braced block inside ${} |
details | |||||
2 | ok | pass | pass | pass | Filename redirect with "$@" |
details | |||||
3 | pass | ok | pass | pass | Filename redirect with split word |
details | |||||
4 | ok | pass | pass | pass | Descriptor redirect to bad "$@" |
details | |||||
5 | pass | pass | ok | pass | Here doc with bad "$@" delimiter |
details |
16 passed, 6 ok, 0 known unimplemented, 1 known bugs, 1 failed, 0 skipped
bash | 0 Bad var sub stdout: stderr: /bin/bash: line 1: ${a|}: bad substitution |
mksh | 0 Bad var sub stdout: stderr: /bin/mksh: <stdin>[1]: ${a|}: bad substitution |
osh | 0 Bad var sub [osh stdout] Expected u'', got '}\n' [osh status] Expected 2, got 0 stdout: }stderr: |
bash | 1 Braced block inside ${} stdout: stderr: /bin/bash: line 1: syntax error near unexpected token `)' /bin/bash: line 1: `echo ${foo:-$({ which ls; })}' |
dash | 2 Filename redirect with "$@" stdout: stderr: /bin/dash: 2: cannot create _tmp/var-sub1 _tmp/var-sub2: Directory nonexistent |
bash | 3 Filename redirect with split word stdout: stderr: /bin/bash: line 3: $foo: ambiguous redirect |
dash | 4 Descriptor redirect to bad "$@" stdout: stderr: /bin/dash: 3: Syntax error: Bad fd number |
mksh | 5 Here doc with bad "$@" delimiter stdout: stderr: /bin/mksh: <stdin>[7]: here document '$@' unclosed |