Hacker News new | ask | show | jobs
by bediger4000 991 days ago
I don't think this is a pipe issue.

(echo red; echo green 1>&2) | echo blue

The string "red" goes into the pipe. The strong "green" goes to stderr, the TTY. The "echo blue" writes to stdout, but does not read from its stdin, the read end of the pipe.

Since nothing gets read from the pipe I don't see the claim of indeterminacy as true.

The different outputs are all due to process scheduling in the kernel.