spec test index / oilshell.org
status | dash | bash | mksh | zsh | osh | osh_ALT | |
pass | 7 | 8 | 6 | 7 | 5 | 5 | |
ok | 1 | 0 | 0 | 1 | 0 | 0 | |
N-I | 1 | 1 | 2 | 1 | 4 | 4 | |
BUG | 0 | 0 | 1 | 0 | 0 | 0 | |
total | 9 | 9 | 9 | 9 | 9 | 9 | |
case | dash | bash | mksh | zsh | osh | osh_ALT | description |
0 | pass | pass | pass | pass | pass | pass | ${##} |
1 | pass | pass | pass | pass | N-I | N-I | ${###} |
details | details | ||||||
2 | pass | pass | pass | pass | N-I | N-I | ${####} |
details | details | ||||||
3 | pass | pass | pass | pass | N-I | N-I | ${##2} |
details | details | ||||||
4 | pass | pass | BUG | pass | N-I | N-I | ${###2} |
details | details | details | |||||
5 | pass | pass | pass | pass | pass | pass | ${1####} |
6 | pass | pass | pass | pass | pass | pass | ${1#'###'} |
7 | ok | N-I | N-I | ok | pass | pass | ${#1#'###'} |
details | details | details | details | ||||
8 | N-I | pass | N-I | N-I | pass | pass | Julia example from spec/oil-user-feedback |
details | details | details |
38 passed, 2 OK, 13 not implemented, 1 BUG, 0 failed, 0 timeouts, 0 cases skipped
osh | 1 ${###} stdout: stderr: echo ${###} ^ [ stdin ]:2: Expected } after length expression |
osh_ALT | 1 ${###} stdout: stderr: echo ${###} ^ [ stdin ]:2: Expected } after length expression |
osh | 2 ${####} stdout: stderr: echo ${####} ^~ [ stdin ]:2: Expected } after length expression |
osh_ALT | 2 ${####} stdout: stderr: echo ${####} ^~ [ stdin ]:2: Expected } after length expression |
osh | 3 ${##2} stdout: stderr: echo ${##2} ^ [ stdin ]:2: Expected } after length expression |
osh_ALT | 3 ${##2} stdout: stderr: echo ${##2} ^ [ stdin ]:2: Expected } after length expression |
mksh | 4 ${###2} stdout: 25stderr: |
osh | 4 ${###2} stdout: stderr: echo ${###2} ^ [ stdin ]:2: Expected } after length expression |
osh_ALT | 4 ${###2} stdout: stderr: echo ${###2} ^ [ stdin ]:2: Expected } after length expression |
dash | 7 ${#1#'###'} stdout: 4stderr: |
bash | 7 ${#1#'###'} stdout: stderr: bash: line 2: ${#1#'###'}: bad substitution |
mksh | 7 ${#1#'###'} stdout: stderr: mksh: <stdin>[2]: ${#1#"###"}: bad substitution |
zsh | 7 ${#1#'###'} stdout: 1stderr: |
dash | 8 Julia example from spec/oil-user-feedback stdout: stderr: |
mksh | 8 Julia example from spec/oil-user-feedback stdout: stderr: |
zsh | 8 Julia example from spec/oil-user-feedback stdout: stderr: |