groff
[Top][All Lists]
Advanced

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

[Groff] Building a troff parser


From: Eric Andrew Lewis
Subject: [Groff] Building a troff parser
Date: Thu, 26 Feb 2015 07:49:18 -0500

Hi all,

I'm interested in building a troff parser to extract information from
manpages (e.g. what do the flags mean when we say `rm -rf *`?).

I'm curious, would the marked up source be the format to parse? And if so,
does troff have a specification that details troff formatting (e.g. what
.Sh or .Fl means)? I found this one
<http://cm.bell-labs.com/sys/doc/troff.pdf> and will have a read through.

Thanks!

Eric Andrew Lewis
ericandrewlewis.com
610.715.8560


reply via email to

[Prev in Thread] Current Thread [Next in Thread]