groff
[Top][All Lists]
Advanced

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

Re: pic anomalies


From: Larry McVoy
Subject: Re: pic anomalies
Date: Sun, 29 Dec 2019 15:23:33 -0800
User-agent: Mutt/1.5.24 (2015-08-30)

On Sun, Dec 29, 2019 at 11:17:26PM +0000, Colin Watson wrote:
>   if (*form == '%') {
>     form++;
>     result += '%';
>   }
>   else {
>     ...
>     snprintf(sprintf_buf, sizeof(sprintf_buf),
>              one_format.contents(), v[i++]);
>     result += sprintf_buf;
>   }
>   one_format.clear();

I like this better than what I suggested, seems easier to follow.  I might
be bike shedding a bit too much but I'd take this one.

On a different topic, is there any sort of test suite for pic and the other
parts of roff?



reply via email to

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