[Top][All Lists]

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

Re: [Groff] grog and mom.

From: Ralph Corderoy
Subject: Re: [Groff] grog and mom.
Date: Tue, 25 Jun 2002 22:50:39 +0100

Hi Werner,

> > OK, I'll work on improving and making it the only
> > implementation.  I was thinking, some kind of debug/verbose option
> > that spits out what it saw in its input would be handy for when
> > people say `it got it wrong'.
> Nice idea!  You mean this?
>   grog --debug
>     Found macro `.foobar' in line 123 -> -m xyz
>     Found macro `.PS' in line 234 -> -p
>     ...
>   groff -p -m xyz

That's the kind of thing, although it would probably be more a frequency
count of the patterns found, and then later the triggered rules, based
on those counts, and the changes they made to the command line.

    grog --debug
    /^\.foobar/ 3
    /^\.PS/ 5
    /^\.PS/ implies -p
    /^\.foobar/ implies -m xyz
    groff -p -m xyz



reply via email to

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