[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Converting texinfo comments to HTML comments
From: |
Jan Nieuwenhuizen |
Subject: |
Re: Converting texinfo comments to HTML comments |
Date: |
Mon, 27 Jul 2009 15:42:03 +0200 |
On ma, 2009-07-27 at 01:31 -0700, Graham Percival wrote:
> On Tue, Jul 21, 2009 at 10:10:34AM +0200, Jan Nieuwenhuizen wrote:
> > On ma, 2009-07-20 at 21:04 -0700, Graham Percival wrote:
> > > better done as a macro; that way, we can retain our
> > > non-git-revision-number comments as "private"
> > >
> > > It's easily done with:
> > > @macro htmlcomment{TEXT}
> > > @html
> >
> > Sweet and simple! Just run
> >
> > pytt '(?ms)address@hidden(.*?)address@hidden ignore(.*?)(address@hidden
> > macros.itexi)' 'address@hidden address@hidden@end htmlComment\2' $(find .
> > -name '*texi' -o -name '*tely')
> >
> > at your convenience.
>
> I'm not having any luck googling "pytt". Was that a typo? I'm
> not aware of any tool like awk or sed called anything similar to
> "pytt", but I admit that I don't know a lot about that side of
> things.
Does locate pytt help? I get
[1]15:06:41 address@hidden:~/vc/gub
$ locate pytt
/home/janneke/0001-Update-grand-replace-for-2008.-Add-missing-pytt.patch
/home/janneke/bin/pytt
/home/janneke/tmp/downloads-lilypond-shallow/scripts/build/pytt.py
/home/janneke/vc/gub/gub/specs/pytt.py
/home/janneke/vc/gub/sourcefiles/pytt.py
/home/janneke/vc/gub/target/darwin-ppc/src/lilypond-git.sv.gnu.org--lilypond.git-master/scripts/build/pytt.py
/home/janneke/vc/lilypond/Documentation/web/scripts/build/out/pytt
/home/janneke/vc/lilypond/scripts/build/pytt.py
Greetings,
Jan.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
AvatarĀ®: http://AvatarAcademy.nl | http://lilypond.org