Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: 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) 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