Mail Archives: djgpp/1998/02/20/14:17:02
> Is there a DJGPP utility to strip comments from files? I started coding
> one then realized someone's probably already done it and it would save
> me the trouble.
Thanks to everyone who responded, you're replies were quite helpful (and
someone even sent me a really cool REPLC program!). However, none of
them worked completely as they all still bug if they find "/*"
somewhere... same with "//", which would probably screw up and source
that happened to have a URL embedded in the text.
So in a fit of late night coding while waiting for more messages to pop
up here with a solution, I coded a program to do that for me. It works
great and I've tested it under some pretty perverse commenting styles
and it works great. If anyone is interested in it, email me for a copy.
Would this be something I should submit to DJGPP? It's a tool for
programmers, so I think it might belong.
--
/*
pneyz / Smoof Team pneyz AT bethany DOT edu
"Fine Malt Coding" http://ns.bethany.edu/pneyz/
*/
- Raw text -