| status | osh | osh-cpp | |
| pass | 9 | 10 | |
| ok | 4 | 4 | |
| FAIL | 2 | 1 | |
| total | 15 | 15 | |
| case | osh | osh-cpp | description |
| 0 | pass | pass | NUL bytes with echo -e |
| 1 | pass | pass | NUL bytes in printf format |
| 2 | ok | ok | NUL bytes in printf value (OSH and zsh agree) |
| details | details | ||
| 3 | ok | ok | NUL bytes with echo $'\0' (OSH and zsh agree) |
| details | details | ||
| 4 | pass | pass | NUL bytes and IFS splitting |
| 5 | ok | ok | NUL bytes with test -n |
| details | details | ||
| 6 | FAIL | pass | NUL bytes with test -f |
| details | |||
| 7 | ok | ok | NUL bytes with ${#s} (OSH and zsh agree) |
| details | details | ||
| 8 | pass | pass | Compare \x00 byte versus \x01 byte - command sub |
| 9 | pass | pass | Compare \x00 byte versus \x01 byte - read builtin |
| 10 | pass | pass | Compare \x00 byte versus \x01 byte - read -n |
| 11 | FAIL | FAIL | Compare \x00 byte versus \x01 byte - mapfile builtin |
| details | details | ||
| 12 | pass | pass | Strip ops # ## % %% with NUL bytes |
| 13 | pass | pass | Issue 2269 Reduction |
| 14 | pass | pass | Issue 2269 - Do NUL bytes match ? in ${a#?} |
19 passed, 8 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
| osh | 2 NUL bytes in printf value (OSH and zsh agree) stdout: |