Darwin cmd import?

Anthony Schneider anthony at x-anthony.com
Tue Jun 1 13:22:00 PDT 2004


On Fri, May 28, 2004 at 12:38:10PM +0200, Cyrille Lefevre wrote:
> "Vulpes Velox" <kitbsdlist2 at HotPOP.com> wrote:
> > On Fri, 28 May 2004 04:07:32 +0200
> > "Cyrille Lefevre" <clefevre-lists at 9online.fr> 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:cyrille.lefevre at laposte.net
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20040601/fe166a85/attachment.bin


More information about the freebsd-hackers mailing list