Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!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.141639.5082@convex.com> Date: 9 May 91 14:16:39 GMT References: <2740@umriscc.isc.umr.edu> <1991May08.154738.26889@convex.com> <1991May09.001313.23696@ism.isc.com> Sender: usenet@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 24 Nntp-Posting-Host: pixel.convex.com From the keyboard of willcr@ivy.isc.com: :In article <1991May08.154738.26889@convex.com>, tchrist@convex.COM (Tom :Christiansen) writes: :> :> Now, I'm sure someone will suggest :> :> ( foo > foo.stdout ) >& foo.stderr :> :> but that's not right: stdout is mangled. : :How is stdout mangled? Is it because "isatty(fileno(stdout))" will no :longer be true? Perhaps stolen would have been a better word choice than mangled. Let's same it's in a script that's being run like this: script > script.out The foo output no longer goes to script.out, where I expect it. --tom -- Tom Christiansen tchrist@convex.com convex!tchrist "So much mail, so little time."