Wanted program to strip out "C" comments

Vick Khera khera at macbeth.cs.duke.edu
Sat Jan 20 03:06:37 AEST 1990


+---------
| From: skumar at cbnewsh.ATT.COM (swaminathan.ravikumar)
| Subject: Wanted program to strip out "C" comments
| Newsgroups: comp.lang.c
| Date: 18 Jan 90 15:22:20 GMT
| 
| Is there any public domain software (c program, awk script) to
| output just the source code comments both inline, and block?
| -- ravi
| skumar at hocus.att.com
+---------

yep. i have two programs i wrote in lex: one strips out all of the comments
of a C program leaving only the program, and the other strips out the
program, leaving only the comments. e-mail if you want either/both.

								v.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vick Khera                              Department of Computer Science
ARPA:   khera at cs.duke.edu               Duke University
UUCP:   ..!{mcnc,decvax}!duke!khera     Durham, NC 27706



More information about the Comp.lang.c mailing list