bug-groff
[Top][All Lists]
Advanced

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

Re: [bug #63957] [mdoc] Synopsis section should not be adjusted (nor hyp


From: G. Branden Robinson
Subject: Re: [bug #63957] [mdoc] Synopsis section should not be adjusted (nor hyphenated)
Date: Fri, 24 Mar 2023 09:43:48 -0500

At 2023-03-24T14:13:26+0100, Alejandro Colomar wrote:
> On 3/24/23 08:26, G. Branden Robinson wrote:
> > groff 1.22.4 output:
> > 
> > 
> > $ groff -mandoc -Tascii ATTIC/timerdday.mdoc | cat -s
> > mdoc warning: Empty input line #34
> > 
> > Name
> >      timerdday -- compute time of launch operation within window
> > 
> > Synopsis
> >      void timerdday(struct-timespec *earliest, struct-timespec *latest,
> >      struct-timespec *resolution)
> 
> Heh, and you forgot to mention that it doesn't add a trailing
> semicolon.

I didn't even notice!

> Certainly some extra adjustment space is better than the bogus 1.22.4.
> :)

It doesn't even do damage if copy-and-pasted into C source that way...

> > $ ./build/test-groff -mandoc -Tascii ATTIC/timerdday.mdoc | cat -s
> 
> You forgot to remove cat -s in 1.23.0.

Sure did.  But it had nothing to do.  A "useless use of cat", as we used
to say in Debian...

> timerdday's API seems a bit bogus: how do you get the result of it?  ;)

I'd tell you, but it's unpublished proprietary source code of AT&T...

http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

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