Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2002 16:05:25 +0100
From:      Cliff Sarginson <cliff@raggedclown.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: sh redirect optimization + fifos
Message-ID:  <20020103150525.GA9291@raggedclown.net>
In-Reply-To: <20020103145026.GA8739@raggedclown.net>
References:  <200201031428.g03ESKO03852@chk.phattydomain.com> <20020103145026.GA8739@raggedclown.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 03, 2002 at 03:50:26PM +0100, Cliff Sarginson wrote:
> On Thu, Jan 03, 2002 at 06:28:20AM -0800, chk no wrote:
> 
> I don't think you can do this very elegantly in the shell.
> I would suggest using message queues, and writing a little
> program in perl,C or possibly awk, to do the reading. A Fifo will work well enough
> for a data stream, or fixed length messages, but it ain't really
> very handy for what you want to do. 
> 
Addenda, you won;t be able to use message queues with awk, but you might
still get away with the fifo...with it...

-- 
Regards
Cliff



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020103150525.GA9291>