Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!convex!usenet From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.unix.wizards Subject: Re: How does one redirect just stderr under the C Shell? Message-ID: <1991May09.004211.25996@convex.com> Date: 9 May 91 00:42:11 GMT References: <2740@umriscc.isc.umr.edu> <1991May08.154738.26889@convex.com> Sender: usenet@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 19 Nntp-Posting-Host: pixel.convex.com Quoting myself... :If your system should support /dev/fd pseudo-devices, this :ought to work: : : ( foo > /dev/stdout ) >& foo.stderr : :But few of us have that feature on our systems. As has been pointed out to me in mail, no, that shouldn't work. (All I can say is that I'm one who doesn't have such a feature.) There is, however, one tried and true way to do this: :-) sh -c "cmd 2>cmd.err" --tom -- Tom Christiansen tchrist@convex.com convex!tchrist "So much mail, so little time."