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)\...@ignore(.*?)\...@end ignore(.*?)(\...@include > macros.itexi)' '\...@include macros.itex...@htmlcomment\1\n@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. Cheers, - Graham _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel