🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #11

Re: Redirecting STDERR

#11
From: Matt Wormley
Date: Thu, 05 Nov 1992 04:22
23 lines
1532 bytes
In article <a_rubin.720921120@dn66> a_rubin@dsg4.dse.beckman.com (Arthur Rubin) writes:
>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.

   Doesn't >& work for redirecting both stdout and stderr?  I think that's
it. 

    worm
Technical Details
Message-ID: <1992Nov05.042258.126673@zeus.calpoly.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!ames!olivea!charnel!rat!zeus!mwormley
References: <1d9g03INNq53@golem.wcc.govt.nz> <a_rubin.720921120@dn66>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!ames!olivea!charnel!rat!zeus!mwormley
From: mwormley@zeus.calpoly.edu (Matt Wormley)
Newsgroups: comp.sys.ibm.pc.programmer,comp.os.msdos.programmer
Subject: Re: Redirecting STDERR
Message-ID: <1992Nov05.042258.126673@zeus.calpoly.edu>
Date: 5 Nov 92 04:22:58 GMT
References: <1d9g03INNq53@golem.wcc.govt.nz> <a_rubin.720921120@dn66>
Organization: California Polytechnic State University, San Luis Obispo
Lines: 23