Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!osh3!chip From: chip@osh3.OSHA.GOV (Chip Yamasaki) Newsgroups: comp.unix.questions Subject: Re: using tee program with tar output Message-ID: <1991May11.035602.6249@osh3.OSHA.GOV> Date: 11 May 91 03:56:02 GMT References: <26840@adm.brl.mil> Organization: U.S. D.O.L - Occupational Safety & Health Admin. Lines: 12 In <26840@adm.brl.mil> sean@dmr.asa.com (Sean Baker) writes: > tar cvf tarfile /tmp |& tee tar.out >But how do I do this with the Bourne shell? I can't seem to >get both stdin and stdout sent to the tee program? tar cvf tarfile /tmp 2>&1 | tee tar.out -- -- Charles "Chip" Yamasaki chip@oshcomm.osha.gov