skumar@cbnewsh.ATT.COM (swaminathan.ravikumar) (01/18/90)
Is there any public domain software (c program, awk script) to output just the source code comments both inline, and block? inline: i += 1; /* increment i */ block: /* * This is a block comment */ Thanks. -- ravi skumar@hocus.att.com
khera@macbeth.cs.duke.edu (Vick Khera) (01/20/90)
+--------- | From: skumar@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@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@cs.duke.edu Duke University UUCP: ..!{mcnc,decvax}!duke!khera Durham, NC 27706
woody@rpp386.cactus.org (Woodrow Baker) (01/21/90)
In article <7480@cbnewsh.ATT.COM>, skumar@cbnewsh.ATT.COM (swaminathan.ravikumar) writes: > > Is there any public domain software (c program, awk script) to > output just the source code comments both inline, and block? > > -- ravi > skumar@hocus.att.com I wrote one some time ago. I'd be glad to let you have it. give me a call Woody Baker 1-512-837-8317 Austin, Tx. (work #) Cheers Woody