Skip to content

Process substitution output vanishes when the consumer is itself piped: cat < <(seq 5) | wc -l prints 0 (GNU: 5) #2003

Closed

Description

@caomengxuan666

来源:性能回填包五顺带发现(用户 agents 实测)。cat < <(seq 5) | wc -l 输出 0,GNU 输出 5——procsub 的产出在消费者再接管道时整段丢失。回归种子:该一行脚本,断言 GNU 输出。与 #1952(procsub 流式)的关系待定位时核对(那批修的是 < <(...) 直读面,本形多一层下游管道)。归宿:procsub 批。复现口径以立案时 master 尖端复验为准。

Activity

  1. added
    bug
    gnu-baseline
    P1-high
    area:expansion
    on Oct 28, 2026
  2. added a commit that references this issue on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P1-higharea:expansionbuggnu-baseline

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions