Xref: utzoo comp.unix.questions:32019 comp.unix.misc:1518 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!spool.mu.edu!uunet!mcsun!ukc!acorn!ixi!ixi!pd From: pd@pd@x.co.uk (Paul Davey) Newsgroups: comp.unix.questions,comp.unix.misc Subject: Re: tee like program to pipe to another program? Message-ID: Date: 7 Jun 91 13:35:25 GMT References: <1991Jun6.093939.9346@dartvax.dartmouth.edu> Sender: paul@x.co.uk (Paul Davey) Organization: IXI Ltd. Lines: 24 In-Reply-To: pete@othello.dartmouth.edu's message of 6 Jun 91 09: 39:39 GMT >>>>> On 6 Jun 91 09:39:39 GMT, pete@othello.dartmouth.edu (Pete Schmitt) said: Pete> Is there a tee like program that will pipe down to another program? You can get the effect of this on some machines by using tee and a named pipe or fifo file. (This is not a general solution.) to pipe the output from lotsofdataprogram to stream1 and stream2, mknod fifo p lotsofdataprogram | tee fifo | stream1 ... & cat fifo | stream2 ... Don't forget to rm fifo when done with it. -- Regards, pd@x.co.uk IXI Limited Paul Davey pd@ixi.uucp 62-74 Burleigh St. ...!uunet!ixi!pd Cambridge U.K. "These are interesting times" +44 223 462 131 CB1 1OJ USA: 1 800 XDESK 57