[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: C comment extraction, or a bag .deb of small commands



la, 18-01-2003 kello 23:44, Oohara Yuuma kirjoitti:
> I wrote a program which extracts comments from a C code:
> http://www.interq.or.jp/libra/oohara/ccommentextract-0.0.20030118.tar.gz
> I want to see such a tool in the Debian archive.
> 
> some questions before ITP:
> * Is there already such a tool?  There are some that do the contrary
>   (rmccmt in liwc, cobfusc -m (/* */ comments only) in cutils).
> * Is there any regex one-liner?  An architecture-independent version
>   will be handy.
> * I don't think this is worth for a separate package.  What is the
>   right .deb for it?

This should be extremely simple to add to the rmccmt program: instead of
printing only comments, print only non-comments. If you like, I could
add this to rmccmt (of which I am the author). Since the change to
rmccmt is so small, I don't like adding a whole new program (especially
something that requires heavyweights flex and automake) to liwc.

Other than that, I think it is suitable to package as a separate .deb.
It tends not to be a good idea to combine several upstream programs into
a single .deb. 



Reply to: