groff
[Top][All Lists]
Advanced

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

Re: [Groff] `groff' options for other programs


From: Ralph Corderoy
Subject: Re: [Groff] `groff' options for other programs
Date: Fri, 26 Apr 2013 15:12:09 +0100

Hi Bernd,

> `grog' and `groffer' (maybe something else in the future) need the
> information of the options used by `groff'.

Out of curiosity, why?  :-)

> The Perl program reads from `groff.cpp' the function `synopsis' that
> contains information of the `groff' options.  From this there
> information, a 2-liner is created and written to STDOUT.  The actual
> output reads:
> 
> noarg: abceghijklpstvzCENRSUVXZ
> witharg: FmTfwWMdrnoPDKLI

Couldn't groffer parse `groff --help's output at run-time?

Cheers, Ralph.



reply via email to

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