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