Redirecting stdout stderr separately.

Rich Salz rsalz at bbn.com
Fri Apr 1 02:43:57 AEST 1988


In comp.unix.questions (<287 at unh.UUCP>), abc at unh.UUCP (Avinash B Chopde) asks
for the csh equivalent of the following /bin/sh fragment:
	$ command 1> file1 2> file2

Gotta use an extra sub-shell:
	% (command >file1) >& file2
-- 
Please send comp.sources.unix-related mail to rsalz at uunet.uu.net.



More information about the Comp.unix.questions mailing list