[chbot] Lazy software developers please read...
marek at kuziel.info
Wed Aug 6 05:29:53 BST 2014
IMO something along the following line should do the trick:
find .|grep ".c\|.h"|xargs sed -i
On Wed, Aug 6, 2014 at 4:18 PM, Charles Manning <cdhmanning at gmail.com>
> Thanks for the comments thus far.
> Clearly writing a whole lot of python does not satisfy the first
> criterion of being lazy.
> What I am really hoping for is something that I can just process with
> a simple bash script
> for f in *.[ch]
> mash_file $f
> But on reflection, I'll have to go into each file and fill out the
> details anyway.
> I will see what eclipe/geany can do.
> On Wed, Aug 6, 2014 at 3:23 PM, Volker Kuhlmann
> <list0570 at paradise.net.nz> wrote:
> > On Wed 06 Aug 2014 13:48:44 NZST +1200, Charles Manning wrote:
> >> I have approx 15000 lines of code that I need to add some more
> >> comments to. I am thinking of using doxygen for all the functions
> >> /structures.
> > Every doxygen aware IDE or text editor should be able to add a doxygen
> > skeleton above a function matching that function's prototype.
> > These include eclipse, geany.
> > I found eclipse (2.7) to be the proverbial pain initially and after
> > reading about everyone complaining tried the suggested geany. In
> > general, geany wasn't as powerful (incl doxygen support) and was as much
> > of a pain to set up as arduino IDE.
> > Not sure whether you want to do your own python scripting for this,
> > though it would be a useful tool to have. Still have to fill in the
> > templates though.
> > Doxygen rocks.
> >> First prize would be that it works under Linux.
> > Claimed.
> > That goes without saying, of course ;-)
> > HTH,
> > Volker
> > --
> > Volker Kuhlmann
> > http://volker.top.geek.nz/ Please do not CC list postings to me.
> > _______________________________________________
> > Chchrobotics mailing list Chchrobotics at lists.linuxnut.co.nz
> > http://lists.ourshack.com/mailman/listinfo/chchrobotics
> > Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
> > Web site: http://kiwibots.org
> > Meetings 3rd Monday each month.
> > When replying, please edit your Subject line to reflect new content.
> Chchrobotics mailing list Chchrobotics at lists.linuxnut.co.nz
> Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
> Web site: http://kiwibots.org
> Meetings 3rd Monday each month.
> When replying, please edit your Subject line to reflect new content.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chchrobotics