Xref: utzoo comp.lang.c:17085 comp.unix.wizards:15131 Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!pasteur!helios.ee.lbl.gov!epb2.lbl.gov!envbvs From: envbvs@epb2.lbl.gov (Brian V. Smith) Newsgroups: comp.lang.c,comp.unix.wizards Subject: Re: Sed wins! It IS possible to strip C comments with 1 sed command! Message-ID: <2164@helios.ee.lbl.gov> Date: 21 Mar 89 18:35:26 GMT References: <2186@solo11.cs.vu.nl> <7150@siemens.UUCP> <9900010@bradley> <4221@omepd.UUCP> <981@philmds.UUCP> <982@philmds.UUCP> Sender: usenet@helios.ee.lbl.gov Lines: 12 > leo@philmds.UUCP (Leo de Wit) writes: > \Can it be proven to be impossible (that is, deleting the comments > \with one sed command - multi-line comments not considered) ? > THIS must be the method EVERYONE uses to strip comments from every C program I have ever seen in the public domain or from Berkeley/DEC/Sun/etc... (flame-suit ready) There must be either a conspiracy against, or a primeval fear of including comments in C programs.