Redirecting stdout stderr separately.

karish karish at denali.UUCP
Thu Mar 31 19:55:11 AEST 1988


In article <287 at unh.UUCP> abc at unh.UUCP (Avinash B Chopde) writes:
>
>Is there any simple way in C-Shell to duplicate the following
>Bourne Shell command to redirect stdout messages to file1 and
>stderr messages to  file 2 ?
>
>$ command 1> file1 2> file2

% (command > file1) >& file2

>Avinash Chopde

Chuck



More information about the Comp.unix.questions mailing list