Hello, this is the little story:
I usually write scripts needing numbers padded on the left with zeros, like in 
'%03.0f'.  In UNIX I use printf(1), but now I'm using more and more rc scripts 
with P9P, and I like to use Plan9 programs to make the scripts more portable to 
Plan9... so I tried with seq, like '9 seq -f%03.0f $i $i' or -f%03g, getting 
the desired output in P9P, but discovering that in Plan9, the floating point 
verbs doesn't include the flag '0'.
I'm really curious about this.  Anyone knows the reason of letting out this 
flag (and including it in P9P)?

Regards,
trebol. 

Reply via email to