using tee program with tar output

Sean Baker sean at dmr.asa.com
Fri May 10 09:41:22 AEST 1991


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 <sean at dmr.asa.com>
Data Management Resources
20725 South Western Avenue, Suite 100
Torrance, CA 90501
USA
(213)618-9677



More information about the Comp.unix.questions mailing list