On Okt 20 2019, Nomen Nescio <[email protected]> 
wrote:

> Do you think the following coproc solves the problem?
> A join or paste prints expected results.
> Curiously cat or tac will block the process.
> Can you explain why join/paste finish the process whereas cat/tac block it?

Because join and paste simultanously read both files, whereas cat and
tac read one file after the other.  Then tee blocks on stdout because
nobody drains the pipe buffer.

Andreas.

-- 
Andreas Schwab, [email protected]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to