Dear A. Costa, dear Maintainer, as soon as you delay the exit of the pipe's input command until all children of 'pee' are able to output the incoming data, everything should work as expected; the obvious example:
(echo foo ; sleep 1) | pee cat echo cat cat Modifying pee to delay the closing of the pipes would not be helpful. In my opinion it might be helpful to a simple further explanation to the man page and leave the sources as they are. Kind regards, Nicolas
signature.asc
Description: Digital signature