RFC: "loop connections"
Gabor Grothendieck <ggrothendieck at gmail.com> wrote:
Just to be concrete, suppose one wants to run the following as a concurrent process to R. (What is does is it implicitly sets x to zero and then for each line of stdin it adds the first field of the input to x and prints that to stdout unless the first field is "exit" in which case it exits. gawk has an implicit read/process loop so one does not have to specify the read step. The fflush() command just makes sure that output is emitted, rather than buffered, as it is produced.)
It seems you're just trying to reinvent fifo and/or pipe connections for interprocess communication. That is not directly related to the problem I wanted to address. -- Dave