www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/20/16:45:31

From: Isaac Waldron <waldroni AT lr DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Utility to strip comments from C/C++ source?
Date: Fri, 20 Feb 1998 16:21:15 -0500
Organization: The Computer Nerd
Lines: 29
Message-ID: <34EDF3CB.B902F18E@lr.net>
References: <34ED0154 DOT 83D5B0C9 AT bethany DOT edu>
Reply-To: waldroni AT lr DOT net
NNTP-Posting-Host: plym2-13.worldpath.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

pneyz wrote:

> 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.
>
> If there isn't one, I'd like to submit the one I write (if I have to) to
> the next release. Does anyone think this would be a (semi-)useful
> utility?
>
> --
> /*
>    pneyz / Smoof Team              pneyz AT bethany DOT edu
>    "Fine Malt Coding"              http://ns.bethany.edu/pneyz/
> */

Just a thought,

I don't understand why you would want to remove comments from a source
file.  They were put there by the author so that others could understand
exactly what the code is doing.  They are much more of a help than a
hinderance.


--
Isaac Waldron <waldroni AT lr DOT net>
http://www.geocities.com/SiliconValley/Lakes/3574/index.html


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019