Ulysees at ulysees.com
Thu Oct 3 14:54:02 IST 2002
sounds plausable, I'll give it a whack and see if it works
----- Original Message -----
From: "Wesley Darlington" <wesley at yelsew.com>
To: <ilug at linux.ie>
Sent: Thursday, October 03, 2002 2:42 PM
Subject: Re: [ILUG] plumbing
> On Thu, Oct 03, 2002 at 02:24:33PM +0100, Ulysees wrote:
> > anybody know how I would go about using a pipe but to have 2 outputs ?
> > eg cat myfile | program1
> > cat myfile | program2
> > but happening at the same time ?
> Hmmm. How about...
> mkfifo /tmp/something
> program1 < /tmp/something &
> program2 < /tmp/something &
> cat myfile > /tmp/something
> Irish Linux Users' Group: ilug at linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for (un)subscription
> List maintainer: listmaster at linux.ie
More information about the ILUG