Re: [PATCH] man2/: SYNOPSIS: Use SY/YS

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

 



Hi Alex,

At 2024-12-01T22:45:20+0100, Alejandro Colomar wrote:
> On Sun, Dec 01, 2024 at 02:51:27PM -0600, G. Branden Robinson wrote:
> > You can go ahead and use the second argument to `SY` now--older
> > groffs (and other formatters) won't complain about it.[1]

Sorry, I had a brainfart there--I should have said `YS` instead of `SY`;
that is what my example illustrated.

> Hmmm.  Actually, groff <= 1.23.0 is bad: it doesn't print $2.  See
> below.

Right.  And I wouldn't expect it to; a general rule in *roff is that
macros do nothing with arguments that they don't expect.  (mandoc(1)
prints them all.)

So yes, probably need to wait for 1.24 for this one.

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux