Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!cmcl2!adm!news From: sean@dmr.asa.com (Sean Baker) Newsgroups: comp.unix.questions Subject: using tee program with tar output Message-ID: <26840@adm.brl.mil> Date: 9 May 91 23:41:22 GMT Sender: news@adm.brl.mil Lines: 24 Hello, I'm trying to redirect the output of tar to a file. I can do this fine in the csh by using: 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? Any help would be appreciated! Thanks, Sean. ======================================= Sean Baker Data Management Resources 20725 South Western Avenue, Suite 100 Torrance, CA 90501 USA (213)618-9677