[re-sending, slightly modified, to list] Hi onf,
At 2024-10-09T00:04:07+0200, onf wrote: > On Tue Oct 8, 2024 at 3:31 AM CEST, G. Branden Robinson wrote: > > [...] > > > > At 2024-10-07T23:00:59+0000, Bjarni Ingi Gislason wrote: > > > [...] > > > "printf '%s\n%s\n' '.kern 0' '.ss 12 0' | groff -mandoc -Z - " > > > > [...] > > The foregoing is also revealing of a low level of sophistication with > > printf(1). That utility applies the given format string to _each_ of > > its arguments. > > [...] > > Only when there are more arguments than there are format specifiers. > (Compare `printf '%03d\n' 1 2` with `printf '%03d;%02d\n' 1 2`.) > His usage is correct, although I would personally make the requests > part of the formatting string as they are constant anyway. I was chastising his inefficiency, since this: $ printf '%s\n' '.kern 0' '.ss 12 0' | groff -mandoc -Z ...is equivalent. My irritation may have been getting the better of me at that point. Maybe I felt like somebody who just endured a blitz of 1,000 warnings... troff:./utp_ix.t:4034: warning: cannot select font 'CW' ...that he didn't care about. 😅 Regards, Branden
signature.asc
Description: PGP signature