Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!boingo.med.jhu.edu!haven.umd.edu!mimsy!mojo!mojo!djm From: djm@eng.umd.edu (David J. MacKenzie) Newsgroups: comp.lang.perl Subject: Re: tee like program to pipe to another program? Message-ID: Date: 7 Jun 91 00:17:04 GMT References: <1991Jun6.093939.9346@dartvax.dartmouth.edu> <1991Jun6.134024.26770@leland.Stanford.EDU> <1991Jun06.150109.5469@convex.com> <1991Jun06.184927.18367@convex.com> <1991Jun6.202623.21539@dartvax.dartmouth.edu> Sender: news@eng.umd.edu (C-News) Organization: Project GLUE, University of Maryland Lines: 14 In-Reply-To: pete@altair.dartmouth.edu's message of 6 Jun 91 20:26:23 GMT > cat file | tee program_1 | program_2 This oughta work (I say without testing): mknod mypipe p program_1 < mypipe & cat file | tee mypipe | program_2 rm mypipe or, not needing cat, replace the third line with: tee mypipe < file | program_2 -- David J. MacKenzie