Menu

#36 Maybe bug in matching \ in r.e.?

open
nobody
None
5
2004-05-25
2004-05-25
No

Over on OpenGLUT (http://OpenGLUT.SourceForge.net/)
we are using Doxygen for API documentation. I *really*
wanted real man pages, so I wrote an AWK script to do
just that.

The script has been tested in a few versions of gawk,
a couple of nawk, and also in mawk. All work well.

In awka, it blows up.

My impression from the failures is that they are
occurring in tryingto match things like:

\note Foo bar mumble-jumble...

and

general prose \a variable ...

Where \note introduces a section or paragraph, and
\a marks the following symbol as a variable.

The rest of the code works okay.

The test system is NetBSD/amd64, approximately
on NetBSD 2.0 (late NetBSD-current 1.6).

awka is 0.7.5, built from pkgsrc.

The script is called dox.awk and lives in the
OpenGLUT repository (...openglut/lib/doc/dox.awk).
An example of running dox.awk is in the
...openglut/lib/doc/make-roff.sh script.

I wanted to come over and check for whether the bug
was open over here, so I didn't take the time to find a
minimal example. (For all I know, come to think of it,
you have already closed this bug bug haven't yet
cut a new release with the fix in it...)

If this sounds like a new bug, maybe I can produce a
minimal example.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB