groff
[Top][All Lists]
Advanced

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

Re: [Groff] [groff] 01/01: tmac/strip.sed: Explain operations.


From: Ralph Corderoy
Subject: Re: [Groff] [groff] 01/01: tmac/strip.sed: Explain operations.
Date: Wed, 08 Nov 2017 11:37:37 +0000

Hi Werner,

> What about putting this information into a tmac.sed.README or
> something similar?

I'm not sure how useful the information was?  And how much it might
mislead if it's read instead of the sed.  :-)

BTW, doesn't
http://git.savannah.gnu.org/cgit/groff.git/tree/tmac/strip.sed still
have a `#' comment from before Brandon's change?  tmac/fixmacros.sed
also has one.

One can mark a set of sed lines to not execute, and this can be abused.

    /^# comment/{
        /^$/i\
        This is a comment for the sed script.\
        It isn't inserted anywhere.\
        But may slow down execution and I wouldn't recommend it.
    }

(It seems one list adds [Groff] and the commit list adds [groff] and so
Mailman doesn't uniq them.)

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy



reply via email to

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