Hello Federico, hello (again) Doug, This isn't a manual page that I maintain. See http://man7.org/linux/man-pages/man1/pic.1.html#COLOPHON.
I suspect "3. An error in pic itself". Thanks, Michael On Fri, 27 Dec 2019 at 19:31, Federico Lucifredi <flucifr...@acm.org> wrote: > > Hello Doug, > for (1), I am CCing Michael Kerrisk — and the procedure to report issues on > the man pages is tracked here > https://www.kernel.org/doc/man-pages/reporting_bugs.html (In brief: email > mtk.manpa...@gmail.com and CC linux-...@vger.kernel.org). > > Best -Federico > > > > On Dec 27, 2019, at 11:08 AM, Doug McIlroy <d...@cs.dartmouth.edu> wrote: > > > > 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 > > > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/