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
comsub execution: ansi-c quote ($'...' with escaped quote) inside $( ) fails with unexpected EOF #384
Found during wt33 test-maintenance triage of #373 (white-box stale-assertion sweep). This is a REAL semantic gap — the tests were updated to the carrier AST, but execution diverges from GNU.
rubash (target/debug/rubash.exe, same script file):
(empty stdout)
rubash stderr: <script>: command substitution: line 1: unexpected EOF while looking for matching `)'
rc 1
Notes
The {-variant echo "$(echo foo$'{\n'bar)" is byte-identical to GNU (probe B06), so the failure is specific to the escaped-quote \' form inside the comsub body scan.
Raw artifacts: target/issue-suites/results/wt33-373/run/B05_comsub_ansic_quote.{gnu,rub}.{out,err,rc} (runner: target/issue-suites/results/wt33-373/run_cases.sh).
Tests referencing this gap: tests/parser_tests.rs test_command_substitution_keeps_inner_ansi_c_escaped_quote (AST carrier form is GNU-fine; the execution gap is tracked here).
Landed on master (wt37/gapfix1 batch, CI green on bbccb1c): see the issue-suite tests/issue384_*_regressions.rs and the lane's two-shell matrices on the ticket trail. Master carries the fix; suites green.
Activity
tests(#373): update parser white-box suite to current GNU-verified AS…
fix(#384): honor P_ALLOWESC escapes for $'...' units in comsub body c…
caomengxuan666 commentedon Oct 2, 2026
Landed on master (wt37/gapfix1 batch, CI green on bbccb1c): see the issue-suite tests/issue384_*_regressions.rs and the lane's two-shell matrices on the ticket trail. Master carries the fix; suites green.