Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!seismo!sundc!pitstop!sun!decwrl!hplabs!hp-sde!hpcuhb!hpindda!kmont From: kmont@hpindda.HP.COM (Kevin Montgomery) Newsgroups: comp.unix.wizards Subject: a.out 1> file.out 2> file.err in csh? Message-ID: <4470006@hpindda.HP.COM> Date: 25 Oct 88 00:05:52 GMT Article-I.D.: hpindda.4470006 Organization: HP Information Networks, Cupertino, CA Lines: 18 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.