On Fri, May 28, 2004 at 12:38:10PM +0200, Cyrille Lefevre wrote: > "Vulpes Velox" <[EMAIL PROTECTED]> wrote: > > On Fri, 28 May 2004 04:07:32 +0200 > > "Cyrille Lefevre" <[EMAIL PROTECTED]> wrote: ... > http://www.opensource.apple.com/darwinsource/10.3.4/bootstrap_cmds-44/ > http://www.opensource.apple.com/darwinsource/10.3.4/system_cmds-279.6/ > > if the above link need to be registered, > let's try google "darwin +decomment" :) > > > If decomment does what it sounds like, then it can be solved using > > grep... iirc it is possible to tell it to kick out all lines that do > > not match a patern... > > thank you, but decomment isn't just a grep oneliner :P > > relpath - calculate the relative path between two path. > decomment - get rid of C/C++ comments. > sadc/sar - system activity reporter (ac like, but more powerfull).
decomment, assuming it simply strips c/c++ comments from source files, could be implemented with a few lines of a lex spec. -Anthony. > Cyrille Lefevre. > -- > home: mailto:[EMAIL PROTECTED] > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
pgpXT3QIhUu2X.pgp
Description: PGP signature