tenseleyflow/bensch / c8e2a1e

Browse files

add compliance matrix to README — 11 shells tested

POSIX, builtin, and integration results for bash, osh, mksh, yash,
dash, zsh, fish, rc, elvish, /bin/sh, and macOS ksh (broken).

OSH (Oils) shows 93% POSIX compliance — strong bash replacement.
mksh and yash beat zsh on POSIX compliance.
Authored by espadonne
SHA
c8e2a1ea493fc0dceb9af645dc445e619cb449e7
Parents
04a2ed2
Tree
08b8089

1 changed file

StatusFile+-
M README.md 18 0
README.mdmodified
@@ -84,6 +84,24 @@ bensch/
84
 └── docs/                     # Documentation
84
 └── docs/                     # Documentation
85
 ```
85
 ```
86
 
86
 
87
+## Compliance Matrix
88
+
89
+Tested on macOS ARM64 (April 2026). POSIX scores are averaged across 7 test suites. Builtins are 605 assertions. Integration is 479 assertions.
90
+
91
+| Shell | Version | POSIX | Builtins | Integration | Notes |
92
+|-------|---------|-------|----------|-------------|-------|
93
+| **bash** | 5.3 | **~100%** | 93% | 100% | Reference shell |
94
+| **osh** | 0.37 | **93%** | 91% | — | Oils — bash replacement, excellent compat |
95
+| **/bin/sh** | bash 3.2 | **97%** | — | — | macOS system shell, lacks bash 4+ features |
96
+| **mksh** | R59c | **93%** | 87% | 99% | MirBSD Korn Shell |
97
+| **yash** | 2.60 | **92%** | 88% | 99% | Designed for strict POSIX compliance |
98
+| **dash** | 0.5.12 | **91%** | 84% | 99% | Debian minimal POSIX shell |
99
+| **zsh** | 5.9 | **89%** | 89% | 99% | Extensions cause POSIX divergence |
100
+| **fish** | 4.1 | **31%** | 86% | 98% | Not POSIX — different syntax entirely |
101
+| **rc** | — | **23%** | 84% | — | Plan 9 shell, not POSIX |
102
+| **elvish** | 0.21 | **18%** | 75% | — | Modern shell, not POSIX |
103
+| **ksh** | macOS built-in | **~0%** | — | — | SEGFAULTS — broken system binary |
104
+
87
 ## Origin
105
 ## Origin
88
 
106
 
89
 bensch was extracted from the [fortsh](https://github.com/FortranGoingOnForty/fortsh) project's test infrastructure, which achieved 1014/1014 interactive test parity across x86 Linux, ARM64 Linux, and macOS ARM64. The framework is 93% shell-agnostic by design.
107
 bensch was extracted from the [fortsh](https://github.com/FortranGoingOnForty/fortsh) project's test infrastructure, which achieved 1014/1014 interactive test parity across x86 Linux, ARM64 Linux, and macOS ARM64. The framework is 93% shell-agnostic by design.