[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] - Bash question: get output as a variable?



On Fri, 5 Feb 2010 18:27:49 -0500 (EST), Bob McGowan wrote:
> If someone wanted to, they could write a single program that would read
> input/write output from/to two or more descriptors, and use it to create
> a multi-path'ed I/O processing sequence, but writing it to prevent
> blocking on one input/output, so it could continue working on the other
> pair, would be a bit hairy.
> 
> The fifo node makes this sort of thing easy to do.

Well, as Mr. Spock would say,

   Fascinating!

It appears that the combination of a shell pipeline and
fifos makes the implementation of a multi-streamed pipeline
possible.  The problem is the lack of "stages",
especially the stream splitting and stream joining ones.

Thank you, Bob and Boyd, for your insights and expertise.


Reply to: