Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bi-directional pipe



On 2006-06-09 02:51:43 -0700, Bart Schaefer wrote:
> On Jun 9, 11:06am, Guillaume Chazarain wrote:
> } My solution is to do something like this:
> } echo "$LARGE_REQUEST" >&p &
> } read REPLY <&p
> 
> In that case you don't have only two processes.  If one process "knows"
> to fork for large writes, that process is prepared for the situation.
> Most read-stdin/write-stdout unix commands that one might execute are
> not so prepared, is my point.

Could you give an example? I'd say that's a bug in the command that
starts the bidirectional pipe. I don't see how commands like grep
could do anything.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Messages sorted by: Reverse Date, Date, Thread, Author