[comp.unix.questions] INFO-UNIX Digest V3#073

black@ee.UCLA.EDU (02/25/87)

> 	(cmd 2>&1) | tee log
> 	(exec cmd 2>&1) | tee log
> 	Well is there some other syntax or funny combination of >|12& to use ?

	You betcha!  Try
	script |& pipeprog
	or
	script >& logfile

	Works for me.

	Rex Black
	
	black@ee.ucla.edu                                          ARPA        
	...!{ihnp4,ucbvax,sdcrdcf,trwspp}!ucla-cs!uclaee!black     UUCP

	"My baby left me--my mule went lame;
	I lost all my money in a poker game;
	A wind storm came just the other day--
	Blew the house that I lived in away!
	I'm having so much trouble, so much trouble;
	So much trouble I'm about to lose my mind."
		-- George Thoroughgood