Xref: utzoo comp.unix.questions:32028 comp.unix.misc:1522 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!cernvax!chx400!bernina!ruba From: ruba@molbio.ethz.ch (Rudolf Baumann) Newsgroups: comp.unix.questions,comp.unix.misc Subject: Re: tee like program to pipe to another program? Message-ID: Date: 8 Jun 91 11:39:00 GMT References: <1991Jun6.093939.9346@dartvax.dartmouth.edu> Sender: news@bernina.ethz.ch (USENET News System) Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH Lines: 38 Nntp-Posting-Host: odin pete@othello.dartmouth.edu (Pete Schmitt) writes: >Is there a tee like program that will pipe down to another program? I am using tpipe from David Rosen which once appeared in comp.sources.unix: %Newsgroups: comp.sources.unix %Subject: v22i011: A "tee" that feeds into pipes. %Message-ID: <2484@papaya.bbn.com> %Date: 3 May 90 20:43:46 GMT %Approved: rsalz@uunet.UU.NET % %Submitted-by: David B Rosen %Posting-number: Volume 22, Issue 11 %Archive-name: tpipe % %tpipe is a simple utility program that can be used to split a unix %pipeline into two pipelines. That is, the output of one pipeline can %be replicated and supplied as the input to two other pipelines %executing simultaneously. % %For example % cmd1 outfile" | cmd4 %will look like this diagramatically: % % --> cmd2 --> cmd3 --> outfile % / % infile --> cmd1 -< % \\ % --> cmd4 --> (standard output) That is probably what you are looking for. Ruedi -- Rudolf E. Baumann ruba@molbio.ethz.ch Institut fuer Molekularbiologie & Biophysik MOLEKULA@CZHETH5A.bitnet ETH Hoenggerberg (HPM G6) Tel. ++41 1 377 33 97 CH-8093 Zuerich/Switzerland Fax ++41 1 371 48 73