home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.ibm.pc.programmer:552 comp.os.msdos.programmer:10410
- Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!gagme!gagme!grahj
- From: grahj@gagme.chi.il.us (jim graham)
- Newsgroups: comp.sys.ibm.pc.programmer,comp.os.msdos.programmer
- Subject: Re: Redirecting STDERR
- Message-ID: <1992Nov7.183425.22676@gagme.chi.il.us>
- Date: 7 Nov 92 18:34:25 GMT
- References: <1d9g03INNq53@golem.wcc.govt.nz>
- Sender: usenet@serveme.chi.il.us
- Organization: Gagme Public Access UNIX, Chicago, Illinois.
- Lines: 19
- Originator: grahj@gagme
-
- In article <1d9g03INNq53@golem.wcc.govt.nz> dennis_c@kosmos.wcc.govt.nz
- writes:
-
- >How can I redirect (or just suppress) output from a program that is
- >going to stderr rather than stdout?
-
- foo > foo.out redirects stdout only
- foo >& foo.out redirects stdout *AND* stderr
-
- hope this helps. :-)
- --jim
-
- --
- #include <std_disclaimer.h> 73 DE N5IAL (/9)
- ------------------------------------------------------------------------------
- INTERNET: jim@n5ial.chi.il.us | grahj@gagme.chi.il.us | j.graham@ieee.org
- ICBM: 41.70N 87.63W UUCP: gagme!n5ial!jim@clout.chi.il.us
- AMATEUR RADIO: n5ial@n9hsi (Chicago.IL.US.Earth) AMTOR SELCAL: NIAL
- ------------------------------------------------------------------------------
-