home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!concert!uvaarpa!darwin.sura.net!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!ncar!csn!cherokee!da_vinci!lookout.it.uswc.uswest.com!rray
- From: rray@lookout.it.uswc.uswest.com (Randy J. Ray)
- Subject: Distinguishing stdout and stderr on a pipe
- Message-ID: <BxxI3B.G8p@da_vinci.it.uswc.uswest.com>
- Sender: rray@snakepit (Randy J. Ray)
- Nntp-Posting-Host: snakepit
- Organization: US WEST Communications, Inc. -- Denver, CO
- Date: Wed, 18 Nov 1992 20:25:59 GMT
- Lines: 14
-
- Is there a way to read from a pipe and capture both stdout and stderr, but
- still be able to distunguish them? I need to run a command while formatting
- returned data one way, and errors a different way.
-
- I have not been able to find any references to this in the Camel book or the
- USENIX tutorial.
-
- Randy
- --
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Randy J. Ray -- U S WEST IT/CSD rray@lookout.it.uswc.uswest.com
- Phone: (303)595-2852
- "It's not denial. I'm just very selective about the reality I accept." --Calvin
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-