home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / ibm / pc / programm / 552 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.3 KB  |  33 lines

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