[Top][All Lists]

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

Re: Question about makevarescape.sed in groff-1.22.4 tarball

From: Alejandro Colomar
Subject: Re: Question about makevarescape.sed in groff-1.22.4 tarball
Date: Sat, 14 Jan 2023 23:03:33 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0

Hi Branden,

On 1/14/23 06:16, G. Branden Robinson wrote:
Hi Mike,

At 2023-01-14T04:49:08+0000, Mike Fulton wrote:
The last line of the makevarescape.sed is:

s|[^ ]/\+|&\\\\:|g

I do not understand why it is making the change it is,

It is adding hyphenless break points to file specifications and URLs.
This is mentioned in the groff_man(7) page.

               When rendered by groff to a TTY or PostScript output de‐

                      .MT fred.foonly@\
                      Fred Foonly
                      for more information.

               displays   as:   “Contact   Fred   Foonly  ⟨fred.foonly@
     ⟩ for more information.”.

               The use  of  ‘\:’  to  insert  hyphenless  discretionary
               breaks is a groff extension and can be omitted.

The overall function of makevarescape.sed is explained around line 825
of the "" file.

but if I do


This looks like it might have been that right?

On my Mac, or a similar type of line under z/OS, then the man pages
seem to have strange escape sequences added to them.  For example, on
my Mac, this results in the line:


Being generated in the ./src/roff/nroff/nroff.1 file

Maybe it wasn't double-pasted.  If not, then I feel like a ./configure
prefix setting of this complexity was not anticipated by groff, and
possibly not by other software using GNU Autotools, either.

Please confirm:

You can


Wow, if this is a real pathname, I guess it's time to ping Thaddeus about filename.7 :P


on these systems?


reply via email to

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