On 2/8/22 00:13, G. Branden Robinson wrote:
> $ tgu -Z -man ~/tmp/long-uri.man | grep 'x X tty'
> $ tgu -man -rU1 ~/tmp/long-uri.man
> foo(1)                      General Commands Manual                     foo(1)
> 
> Name
>        foo - frobnicate a bar
> 
> Description
>        Here’s  an  example  from  Alejandro Colomar (corrected).  You can find
>        more about this at the Linux kernel Web site.
> 
> groff test suite                  2022-02-08                            foo(1)
> $ tgu -Z -man -rU1 ~/tmp/long-uri.man  | grep 'x X tty'
> x X tty: link 
> https://www.kernel.org/doc/html/latest/process/coding-style.html#allocating-memory
> x X tty: link
> 
> All of the foregoing looks exactly like what I expect.
> 
[...]
> 
> I don't expect you to make sense of all that, let's just make sure you
> are running more or less the same code.  Yes, there was a recent change
> on 1 February[1], but it shouldn't have had any impact on what you see.
> 
> Maybe someone else can see something that my mazed eyes are overlooking.

I can see something very similar to what you see (modulo some warnings)
with:

$ groff -b -ww  -Tutf8 -Z -man -rU1 ./long-uri.man | grep 'x X tty'

So, yes, it was the terminal that was creating a hyperlink based on a
guess.  No problem in groff(1).

Thanks,

Alex


-- 
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/

Reply via email to