Want a way to strip comments from a C file

James R Vallino jrv at siemens.UUCP
Fri Mar 10 01:58:50 AEST 1989


We're working with this lousy compiler which is choking on files which
have too many comments.  Does anyone have a sed or awk script which we
can use to preprocess the C source and get rid of all the comments before
sending it to the compiler?

Thanks!


-- 
Jim Vallino	Siemens Corporate Research, Princeton, NJ
jrv at siemens.com
princeton!siemens!jrv
(609) 734-3331



More information about the Comp.lang.c mailing list