a.out 1> file.out 2> file.err in csh?
Alan Ramacher
rar at nascom.UUCP
Fri Oct 28 06:30:13 AEST 1988
In article <4470006 at hpindda.HP.COM>, kmont at hpindda.HP.COM (Kevin Montgomery) writes:
>
> Hate to be this cluelessly stupid, but something's been bugging the
> hell out of me- how do you do the Bourne :
>
> a.out 1> file.stdout 2> file.stderr
>
(a.out > file.stdout) >& file.stderr
> in the csh? ("a.out > file.stdout >& file.stderr" doesn't cut it,
> since ">&" is defined to be BOTH stdout and stderr, hence is an
> ambiguous redirection)
>
More information about the Comp.unix.wizards
mailing list