diff options
Diffstat (limited to 'DESIGN.md')
| -rw-r--r-- | DESIGN.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -835,6 +835,12 @@ Rules: not). - Exit statuses follow the ash family: 2 for a failed redirection, 127 from `type` and `command -v` for an unknown name. +- The z/OS `/bin/sh`'s semantics are not emulated where it departs from + POSIX and every other shell: `[ a \< b ]`, `fc`, arithmetic across a + newline, an unterminated here-document, unquoted `$@` keeping empty + fields, and `command eval` still exiting on an error. `bench/README.md` + classifies every difference the two shells show on the `tests/posix` + corpus, and none of them is a zash bug. - An expansion error in a command the shell prepares for a child (a pipeline stage, `&`, `$( )`) is reported on the shell's stderr, not on the stderr that command would have had. |
