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: G. Branden Robinson
Subject: Re: [Groff] [groff] 01/01: tmac/strip.sed: Explain operations.
Date: Wed, 8 Nov 2017 07:38:24 -0500
User-agent: NeoMutt/20170113 (1.7.2)

At 2017-11-08T11:37:37+0000, Ralph Corderoy wrote:
> 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.  :-)

If my explanation was wrong I'm definitely going to feel deflated.

Er, shrunk.  ;-)

> 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.

That's true:

$ git blame tmac/strip.sed | cut -c1-76
3177cd974 (Werner Lemberg      2015-04-22 07:55:34 +0200  1) 2 i\
3177cd974 (Werner Lemberg      2015-04-22 07:55:34 +0200  2) .\\" This is a 
3177cd974 (Werner Lemberg      2015-04-22 07:55:34 +0200  3) .\\" source cod
222812ab4 (Werner LEMBERG      2006-06-06 16:49:39 +0000  4) # strip comment
058f72af8 (Werner LEMBERG      2001-03-23 00:17:52 +0000  5) /%beginstrip%/,
058f72af8 (Werner LEMBERG      2001-03-23 00:17:52 +0000  6)   s/^\.[    ]*/./
058f72af8 (Werner LEMBERG      2001-03-23 00:17:52 +0000  7)   s/^\.\\".*/./
222812ab4 (Werner LEMBERG      2006-06-06 16:49:39 +0000  8)   s/^\\#.*/./
058f72af8 (Werner LEMBERG      2001-03-23 00:17:52 +0000  9)   s/\\".*/\\"/
222812ab4 (Werner LEMBERG      2006-06-06 16:49:39 +0000 10)   s/\\#.*/\\/
ae59ee569 (G. Branden Robinson 2017-11-07 14:23:39 -0500 11)   /.[ad]s/!s/[
ae59ee569 (G. Branden Robinson 2017-11-07 14:23:39 -0500 12)   /.[ad]s/s/\([
058f72af8 (Werner LEMBERG      2001-03-23 00:17:52 +0000 13)   s/\([^/]\)doc
058f72af8 (Werner LEMBERG      2001-03-23 00:17:52 +0000 14) }
b04d345ed (James Clark         1992-09-01 12:28:08 -0500 15) /^\.$/d

-- 
Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

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