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] P0 herestring 任何参数展开为空内容: read x <<< "${v#--}" 全灭(makepkg parseopts 长选项全崩为 option '--' is ambiguous) #165
Activity
caomengxuan666 commentedon Sep 26, 2026
已在 master 29714d5 修复(wt/m1-here @ c5be754 全量验证)
L-I 车道的 WORD_DESC 引号分段修复(29714d5e,
expand_here_string_segments一族,redir.c:373 r_reading_string 对应)已顺带修掉本单的根因——herestring 操作数改走 raw word 分段展开 + 最终 carrier decode,参数展开不再被剥空。在 wt/m1-here(基线 c5be754 = 29714d5 之后,产物
target/m1/)复核:hs-matrix.sh:dquote/无引号/单引号 ×${v#--}/${v:2}/${v^^}/${v/a/b}/${#v}/${v:-def}/嵌套${x#${x%%v*}}/comsub/拼接/含空白值/$*/$@/多行 × read/IFS=read/赋值目标)与 WSL GNU Bash 5.3.0 逐字节一致。probe-read.sh(含 makepkg 现场IFS='=' read -r opt optarg <<< "${x#--}"的 I 形态)双侧一致。--version打出版本横幅、--help、--printsrcinfo、--packagelist全部被识别,不再出现option '--' is ambiguous;剩余 diff 仅--help文本渲染(n换行丢失 + Usage 行$0路径 = [bug] P0 脚本内执行脚本: 子脚本 $0 错误(fork 形态继承父 $0 / exec 形态 .\反斜杠路径),${0##*/} 自定位全家崩 #166 家族)。建议:关闭本单时在 29714d5 上加 backlink;#166($0)解锁后 makepkg-drive 可全量对齐。
caomengxuan666 commentedon Sep 26, 2026
已随 L-I 车道的 herestring 修复(29714d5e,expand_here_string_segments 的 raw 分段展开+载体解码)在 master 上生效——M1 车道复核确认无需新代码:30 形态矩阵(引号上下文 × ${v#--}/${v:2}/${v^^}/${v//}/${#v}/默认值/嵌套/comsub/$*/$@/空白值 × read/IFS-read/赋值目标)与 WSL GNU 5.3.0 字节一致;C3 probe-read 一致;makepkg parseopts 探针通过(--version/--help/--printsrcinfo/--packagelist 全识别,'option -- is ambiguous' 消失;残余 --help 差异属 $0/#166 家族)。
test(completion): pin #3004 ctrl-byte filename cells (fail-first)
fix(expansion): field splitter keeps pair-payload \x1c as data (Refs #…
fix(completion): ctrl-byte filenames survive field split and emulated…