🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.d
Article #2046

Re: combining cc stderr with c programs

#2046
From: Greg Woods
Date: Mon, 08 Dec 1986 22:28
12 lines
1026 bytes
  I won't be the only one to tell you this, but a compiler output processor
that does what you want is already available, at least under 4.2BSD: error(1).
If you do "cc blotto.c |& error" (csh) or "cc blotto.c 2>1 | error" (Bourne)
it will actually modify the C source code and stick in the error messages as
comments.

--Greg
{ucbvax!hplabs | decvax!noao | mcvax!seismo | ihnp4!seismo}
       		        !hao!woods

CSNET: woods@ncar.csnet  ARPA: woods%ncar@CSNET-RELAY.ARPA
Technical Details
Message-ID: <464@hao.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!hao!woods
References: <31@sppy00.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!hao!woods
From: woods@hao.UUCP (Greg Woods)
Newsgroups: comp.sources.d
Subject: Re: combining cc stderr with c programs
Message-ID: <464@hao.UUCP>
Date: Mon, 8-Dec-86 17:28:32 EST
Article-I.D.: hao.464
Posted: Mon Dec  8 17:28:32 1986
Date-Received: Mon, 8-Dec-86 22:25:08 EST
References: <31@sppy00.UUCP>
Reply-To: woods@hao.UUCP (Greg Woods)
Distribution: na
Organization: High Altitude Obs./NCAR, Boulder CO
Lines: 12
Keywords: error(1)