Skip to content

gnu-compat G24: 赋值 RHS 转义保留 #96

Closed

Description

@caomengxuan666

tests/rhs-exp.tests(105/105 行数一致但内容错位):

TDEFAULTS = -DSELECT_VECS=\&m68kcoff_vec\> 等赋值 RHS 中 \&、\>、\' 的保留/展开与 GNU 不一致(rubash 丢了 \& 保留 $selvecs 未展开等)。

GNU 5.3.0 参考:subst.c 赋值词 RHS 展开路径。

原始 diff:target/issue-suites/results/live/rhs-exp.diff

Activity

  1. caomengxuan666 commented on Sep 15, 2026

    @caomengxuan666
    MemberAuthor

    Fixed. rhs-exp/nquote1/nquote4 suites: 0 diff against WSL GNU Bash 5.3.0. recho high-byte preservation and cat -v show-nonprinting filter implemented.

  2. added
    bug
    gnu-baseline
    area:expansion
    on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:expansionbuggnu-baseline

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions