Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!crdgw1!ge-dab!sundae9!coleman From: coleman@sunny.DAB.GE.COM (Richard Coleman) Newsgroups: comp.unix.shell Subject: Re: How to pipe stderr to a command in Bourne or Korn shell Message-ID: <6133@ge-dab.GE.COM> Date: 8 Oct 90 19:32:05 GMT References: <1990Oct8.165133.17187@cti-software.nl> Sender: news@ge-dab.GE.COM Reply-To: coleman@sunny.DAB.GE.COM (Richard Coleman) Organization: General Electric SCSD, Daytona Beach FL Lines: 15 -- In article <1990Oct8.165133.17187@cti-software.nl>, pim@cti-software.nl (Pim Zandbergen) writes: |> |> How can one redirect stderr to a command while leaving stdout unaffected ? For csh and bash try (command > temp1) >& temp2 For sh command 2> temp somebody else will have to handle ksh. Richard Coleman G.E. Simulation & Control Systems coleman@sunny.dab.ge.com