From dhinds at sonic.net  Tue Aug 30 18:46:09 2005
From: dhinds at sonic.net (dhinds@sonic.net)
Date: Tue, 30 Aug 2005 16:46:09 +0000 (UTC)
Subject: [Rd] RFC: "loop connections"
References: <dedndn$daj$1@sea.gmane.org>
	<17168.15848.291481.473231@stat.math.ethz.ch>
	<deqhed$u28$1@sea.gmane.org>
	<971536df0508271638166beecd@mail.gmail.com>
Message-ID: <df22gh$72u$1@sea.gmane.org>

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



[Rd] RFC: "loop connections"
dhinds@sonic.net