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] Builtin comsub in assignment position traces nothing under set -x (v=$(echo hi) omits the ++ echo line; function comsubs trace correctly) #254
wt5/misc lane adjacent finding (not fixed there): plain builtin command substitution in assignment position traces nothing where GNU prints ++ echo hi — v=$(echo hi) omits the line entirely, while $(f) function comsubs now trace correctly after #247. The builtin comsub fast path skips the simple-command trace. Separate family from #247's function head line. Anchor: execute_cmd.c:4649 xtrace fires for every simple command including builtins; the assignment RHS comsub path must not bypass it.
Activity
docs: task board - misc recovered (4 closed, #254 queued)
comsub xtrace family + reader continuation (#254, #255)
caomengxuan666 commentedon Sep 27, 2026
已修复并合入 master(commit e99b1e29/10361b52):set -x 使词级 comsub 快捷家族全部失格走真执行器(rubash#117 白名单纪律——追踪时不等价即退出)、所有体读取器边界 indirection+1(evalstring.c:348);顺带修出真 bug:前缀赋值 v=$(cmd) 的 RHS 曾双执行(现 memo 单次展开,subst.c:3565)。16 形状 stderr 字节一致。