a.out 1> file.out 2> file.err in csh?
Kevin Montgomery
kmont at hpindda.HP.COM
Tue Oct 25 10:05:52 AEST 1988
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
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)
adv -thanks- ance,
kevin, normally not so clueless
ps: if anyone sez 'sh "a.out 1> file.stdout 2> file.stderr"', they
will be shot.
pps: no, I don't like bourne, so stop flaming.
ppps: yes, I can write a "Y" program easily to do it, but it should be
possible in the csh already.
More information about the Comp.unix.wizards
mailing list