Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!udel!princeton!siemens!jrv From: jrv@siemens.UUCP (James R Vallino) Newsgroups: comp.lang.c Subject: Want a way to strip comments from a C file Message-ID: <7150@siemens.UUCP> Date: 9 Mar 89 15:58:50 GMT Reply-To: jrv@siemens.com (James R Vallino) Distribution: usa Organization: Siemens RTL, Princeton, NJ Lines: 13 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@siemens.com princeton!siemens!jrv (609) 734-3331