Newsgroups: comp.lang.perl
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!convex!usenet
From: Tom Christiansen <tchrist@convex.COM>
Subject: Re: tee like program to pipe to another program?
Message-ID: <1991Jun07.014820.20838@convex.com>
Sender: usenet@convex.com (news access account)
Nntp-Posting-Host: pixel.convex.com
Reply-To: tchrist@convex.COM (Tom Christiansen)
Organization: CONVEX Software Development, Richardson, TX
References: <1991Jun06.150109.5469@convex.com> <1991Jun06.184927.18367@convex.com> <1991Jun6.202623.21539@dartvax.dartmouth.edu>
Date: Fri, 07 Jun 1991 01:48:20 GMT
Lines: 15

From the keyboard of pete@altair.dartmouth.edu (Pete Schmitt):
:All I want to do is:
:
:cat file | tee program_1 | program_2
:
:Is there a program that will do this?

My tee clone will:

    tee "|program_1" "|program_2" < file > /dev/null # toss stdout

--tom
--
Tom Christiansen		tchrist@convex.com	convex!tchrist
	    "Perl is to sed as C is to assembly language."  -me
