Article View: comp.sys.ibm.pc.programmer
Article #9Re: Redirecting STDERR
From: Arthur Rubin
Date: Wed, 04 Nov 1992 23:52
Date: Wed, 04 Nov 1992 23:52
22 lines
1625 bytes
1625 bytes
In <1d9g03INNq53@golem.wcc.govt.nz> dennis_c@kosmos.wcc.govt.nz writes: >I know this must have been asked 1000 times before, but I haven't been >able to find the answer. I would appreciate it if someone can just >point me to the relevant information. >How can I redirect (or just suppress) output from a program that is >going to stderr rather than stdout? >I have a program (no source code) that insists on writing liberal >amounts of information on what it's doing on the screen. Redirecting >stdout only gets rid of some of the verbosity. I know stderr can be >redirected if the program is called from within another program, but >I don't want to do that because space is at a premium. Well, you can probably write a small ASM program which redirects stderr to NUL, and only use about 1/2 K of memory. -- Arthur L. Rubin: a_rubin@dsg4.dse.beckman.com (work) Beckman Instruments/Brea 216-5888@mcimail.com 70707.453@compuserve.com arthur@pnet01.cts.com (personal) My opinions are my own, and do not represent those of my employer. My interaction with our news system is unstable; please mail anything important.
Technical Details
Message-ID:
<a_rubin.720921120@dn66>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!usc!news.service.uci.edu!beckman.com!dn66!a_rubinReferences:
<1d9g03INNq53@golem.wcc.govt.nz>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!usc!news.service.uci.edu!beckman.com!dn66!a_rubin Newsgroups: comp.sys.ibm.pc.programmer,comp.os.msdos.programmer Subject: Re: Redirecting STDERR Message-ID: <a_rubin.720921120@dn66> From: a_rubin@dsg4.dse.beckman.com (Arthur Rubin) Date: 4 Nov 92 23:52:00 GMT References: <1d9g03INNq53@golem.wcc.govt.nz> Organization: Beckman Instruments, Inc. Nntp-Posting-Host: dn66.dse.beckman.com Lines: 22