You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug] '|| ! case ... esac' parse: syntax error near unexpected token 'esac' (modernish bin/modernish:1589 _Msh_hardenBracket) #257
rubash: line 1589: syntax error near unexpected token 'esac' → init aborts rc=2. GNU Bash 5.3.0 parses it.
Minimal probe (LF file): a negated case command after || :
fn() { true || ! case $? in ( 0 ) ;; ( * ) echo bad ;; esac; }
fn; echo "negcase-ok rc=$?"
GNU: negcase-ok rc=0. rubash: syntax error near 'esac'. GNU owner: parse.y — '!' is a pipeline prefix (reserved_word acceptable) and a case command is a compound command valid as a pipeline element (parse.y:2599+ case_command in the pipeline grammar).
Activity
omb/modernish/bats ecosystem fixes: #251 omb interactive brace cascade,
shell2 lane: #256 #257 #258 #259 #273 — loop-test break/continue, BAN…
caomengxuan666 commentedon Sep 28, 2026
已修复并合入 master(commit 2c126128/d1e598e0,lane wt6/shell2;验证:modernish .t 166/166 rc 向量满分(原 159/164)、bats filter.bats 全平价 6/6、#273 大小写修完零快照漂移、regression 24/24)。后续边界已开单跟踪。感谢报告!