8000 Redirections and pipes involving blocks (like for-loops) buffer output · Issue #1396 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

Redirections and pipes involving blocks (like for-loops) buffer output #1396

@CGamesPlay

Description

@CGamesPlay

When I run this script in fish 2.1.0:

for i in (seq 1 5); sleep 1; echo $i; end | cat

I should except to see a slow count to 5, one line per second. Instead, I see no output, and then, five seconds later, all 5 lines appear. This appears to be the same issue as #1302.

This appears to happen regardless of the amount of output:

for i in (seq 1 5); sleep 1; cat /usr/share/dict/words; end | cat

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0