spec test index / oilshell.org
case | bash | mksh | zsh | osh | description |
0 | pass | pass | pass | pass | Pattern replacement |
1 | pass | BUG | pass | pass | Pattern replacement on unset variable |
details | |||||
2 | pass | pass | pass | pass | Global Pattern replacement with / |
3 | pass | pass | pass | pass | Left Anchored Pattern replacement with # |
4 | pass | pass | pass | pass | Right Anchored Pattern replacement with % |
5 | pass | pass | pass | pass | Replace fixed strings |
6 | pass | pass | pass | pass | Replace is longest match |
7 | pass | N-I | pass | pass | Replace char class |
details | |||||
8 | pass | pass | pass | pass | Replace hard glob |
9 | BUG | BUG | BUG | pass | Pattern replacement ${v/} is not valid |
details | details | details | |||
10 | BUG | BUG | BUG | pass | Pattern replacement ${v//} is not valid |
details | details | details | |||
11 | pass | pass | pass | pass | ${v/a} is the same as ${v/a/} -- no replacement string |
12 | pass | pass | pass | pass | Replacement with special chars (bug fix) |
13 | pass | BUG | BUG | pass | Replace backslash |
details | details | ||||
14 | pass | pass | pass | pass | Replace right ] |
15 | pass | pass | BUG | pass | Substitute glob characters in pattern, quoted and unquoted |
details |
53 passed, 0 ok, 1 known unimplemented, 10 known bugs, 0 failed, 0 skipped
mksh | 1 Pattern replacement on unset variable stdout: -- status=0 --stderr: |
mksh | 7 Replace char class stdout: xx_xx_xx xx_xx_xxstderr: |
bash | 9 Pattern replacement ${v/} is not valid stdout: -abcde- status=0stderr: |
mksh | 9 Pattern replacement ${v/} is not valid stdout: -abcde- status=0stderr: |
zsh | 9 Pattern replacement ${v/} is not valid stdout: -abcde- status=0stderr: |
bash | 10 Pattern replacement ${v//} is not valid stdout: -a/b/c- status=0stderr: |
mksh | 10 Pattern replacement ${v//} is not valid stdout: -a/b/c- status=0stderr: |
zsh | 10 Pattern replacement ${v//} is not valid stdout: -a/b/c- status=0stderr: |
mksh | 13 Replace backslash stdout: [_] [_] [\_] [_]stderr: |
zsh | 13 Replace backslash stdout: [_] [_] [\_] [_]stderr: |
zsh | 15 Substitute glob characters in pattern, quoted and unquoted stdout: a-b a-bstderr: |