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