groff
[Top][All Lists]
Advanced

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

pic anomalies


From: Doug McIlroy
Subject: pic anomalies
Date: Fri, 27 Dec 2019 11:08:04 -0500
User-agent: Heirloom mailx 12.5 7/5/10

The description of sprintf in the man page pic(1) does not
reveal that only a few format codes are permitted.

Eric Raymond's "Making Pictures With GNU PIC" says only
%,%e,%f,%g are  permitted. But what does a bare % mean?

In fact pic rejects a bare %. However it does accept
%%, which is supposed to print a single %. Pic,
however prints %%.

So I believe we have
1. An incompleteness in pic(1)
2. An error in "Making Pictures With GNU PIC"
3. An error in pic itself

Doug



reply via email to

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