C comment remover

Mukul Agrawal mukul at hi-csc.honeywell.com
Sat Dec 9 09:17:56 AEST 1989


I need a program that removes all the comments from a C program.  I use a
Sun 3/50 running OS4.0.3. This is needed because I need to count the
source lines of code without comments.

Is there a program in any of the usenet archives or elsewhere that does
this?  Are there any options to the other utilities ( such as indent,
cxref or cpp) that will do this for me.

Please mail me the replies.

Thanks in advance.
-- Mukul



More information about the Comp.sys.sun mailing list