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] for-list skips pathname expansion for unquoted ${a[@]} #1067
P2-medium中:次要缺陷或边缘路径,排期修复area:globpathname expansion, shopt glob options, collationbugSomething isn't workinggnu-baselineTracked by the GNU Bash 5.3.0 true-baseline ledger
[bug] for-list skips pathname expansion for unquoted ${a[@]} / ${a[*]}
# clean dir with a.sh b.sh present:
arr=('*.sh''x');foriin${arr[@]};doecho"[$i]";done# GNU bash 5.3: [a.sh] [b.sh] [x]# niu: [*.sh] [x]
Scoping: echo ${arr[@]} globs in both; for i in $scalar globs in both; for i in "${arr[@]}" correctly glob-free in both — exactly the for-word-list path drops glob for array splices. Medium: silent wrong iteration set for a common loop idiom.
Env: niubash 1.4.4 / rubash engine (master ~2026-10), GNU bash 5.3.20 aarch64-linux-android as oracle.
Fixed by #1181 (2026-10-22/23 bulk GNU-parity wave): landed as a dedicated commit referencing this issue, covered by the audit differential suite (tests/fixtures/audit/), and re-verified byte-for-byte against a GNU bash 5.3.20 oracle; master CI (ff1a555) runs the suite green.
Closing now to restore the linkage: GitHub's closing-reference parser only honored the first entry of #1181's long Fixes list, so this stayed open after the fix landed. If anything still reproduces on current master, reopen with a transcript and it returns to the fix queue.
P2-medium中:次要缺陷或边缘路径,排期修复area:globpathname expansion, shopt glob options, collationbugSomething isn't workinggnu-baselineTracked by the GNU Bash 5.3.0 true-baseline ledger
Activity
caomengxuan666 commentedon Oct 23, 2026
Fixed by #1181 (2026-10-22/23 bulk GNU-parity wave): landed as a dedicated commit referencing this issue, covered by the audit differential suite (tests/fixtures/audit/), and re-verified byte-for-byte against a GNU bash 5.3.20 oracle; master CI (ff1a555) runs the suite green.
Closing now to restore the linkage: GitHub's closing-reference parser only honored the first entry of #1181's long
Fixeslist, so this stayed open after the fix landed. If anything still reproduces on current master, reopen with a transcript and it returns to the fix queue.