spec test index / oilshell.org
71 passed, 2 OK, 0 not implemented, 2 BUG, 0 failed, 0 timeouts, 0 cases skipped
bash | 10 Single backslash stdout: \stderr: |
bash | 11 Escaped backslash stdout: \stderr: |
osh | 23 @P with array stdout: status=1 status=1 status=1stderr: echo ${@@P} ^~~~ [ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray echo ${*@P} ^~~~ [ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray a=(x y); echo ${a@P} ^~ [ -c flag ]:1: fatal: Array 'a' can't be referred to as a scalar (without @ or *) |
osh_ALT | 23 @P with array stdout: status=1 status=1 status=1stderr: echo ${@@P} ^~~~ [ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray echo ${*@P} ^~~~ [ -c flag ]:1: fatal: Can't use @P on value.MaybeStrArray a=(x y); echo ${a@P} ^~ [ -c flag ]:1: fatal: Array 'a' can't be referred to as a scalar (without @ or *) |