How does one redirect just stderr under the C Shell?
Tom Christiansen
tchrist at convex.COM
Thu May 9 10:42:11 AEST 1991
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 at convex.com convex!tchrist
"So much mail, so little time."
More information about the Comp.unix.wizards
mailing list