Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!randvax!segue!jim From: jim@segue.segue.com (Jim Balter) Newsgroups: comp.unix.questions Subject: Re: reverse-tee, or, merging stdout's Message-ID: <7204@segue.segue.com> Date: 21 Apr 91 22:16:48 GMT References: <819@llnl.LLNL.GOV> <1991Apr19.182517.199@rathe.cs.umn.edu> Reply-To: jim@segue.segue.com (Jim Balter) Organization: Segue Software, Inc. - Santa Monica, CA. +1-213-453-2161 Lines: 14 In article <1991Apr19.182517.199@rathe.cs.umn.edu> ian@rathe.cs.umn.edu (Ian Hogg) writes: > Maybe this will work: > > prog1 arg1 arg2 | (cat ; prog2 arg3 arg4 arg5) | prog3 and maybe it won't. If you have doubts, why not try it before posting? What will work are prog1 arg1 arg2 | (cat - ; prog2 arg3 arg4 arg5) | prog3 and ( prog1 arg1 arg2 ; prog2 arg3 arg4 arg5) | prog3