Skip to content

[bug] unmatched extglob redirect target >?(zz)out creates a literal file (GNU: syntax error near unexpected token) #424

Closed

Description

@caomengxuan666

Found by wt56/alias-cond out-of-scope audit (2026-10-04, zero aliases involved — not the alias family).

>?(zz)out with extglob on: GNU errors syntax error near unexpected token ('; rubash creates a literal file named e.g. ?(zz)out`. Repro script + raw outputs: D:/repo/rubash-wt-aliascond/target/issue-suites/results/wt56-aliascond/g12iso-lf.sh (compare rubash vs WSL GNU 5.3.0).

Second shape from the same audit: after a parse error like [[ ((zz)) == zz ]] in -i mode, GNU continues the session while rubash exits (error text itself matches). And an error-echo line format diff (c12) — see artifacts.

Activity

  1. added
    P2-medium
    on Oct 9, 2026
  2. added 2 commits that reference this issue on Oct 9, 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

    P2-medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions