Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!llnl!ramius.llnl.gov!rjshaw From: rjshaw@ramius.llnl.gov (Robert Shaw) Newsgroups: comp.unix.questions Subject: reverse-tee, or, merging stdout's Message-ID: <819@llnl.LLNL.GOV> Date: 11 Apr 91 23:38:58 GMT Sender: news@llnl.LLNL.GOV Reply-To: rjshaw@ramius.llnl.gov (Robert Shaw) Organization: Lawrence Livermore National Laboratory Lines: 26 Hi. Is there any way to do the "reverse" of a tee? meaning that I want two streams merged into one, without using files. For example, how do I run prog1 arg1 arg2 and prog2 arg3 arg4 arg5 and "pipe" prog1's stdout, followed by prog2's stdout into prog3? I want this: prompt% prog1 arg1 arg2 > tmp1 prompt% prog2 arg3 arg4 arg5 > tmp2 prompt% cat tmp1 tmp2 | prog3 without using the filesystem. (email, please) Thanx, all! =============================================================================== Rob Shaw rjshaw@ocfmail.llnl.gov ===============================================================================