On Sun, Jul 29, 2001 at 10:24:55PM -0500, Ben Luey wrote:

> How can I make it print the leading 0's on the 1-9?

If it's anything like perl's or C's printf (which you would assume it
was): "%02d"

man sprintf on the format:

0      The value should be zero padded.  For d, i, o, u, x, X, a, A,
       e, E, f, F, g, and G  conversions,  the  converted  value  is
       padded  on  the left with zeros rather than blanks.  If the 0
       and - flags both appear, the 0 flag is ignored.  If a  preci-
       sion  is  given with a numeric conversion (d, i, o, u, x, and
       X), the 0 flag is ignored.  For other conversions, the behav-
       ior is undefined.

-- 
H4sIANVjVzsAA+3QS2rDMBCAYa99irlALY/jB5TiVXuDrLIJLhKJKZGCpGx6+uZFSTfZhRL4
v82MZgahkQ35Jc0bP+VDdMVjaF33bSuFiA6dXmN9ihc6qMiwaLq+11aPuTadNoXUD3rPH4eU
pyhS5G3YTenenIt32s9KZHleXD7mT++ivG1z3r8ac/mOyp2rlf0yo7z7tAre/Y5Yn76P5yrE
jRlLkV2w632Yfb65JmXrYqy8y+amPUpZ/vfiAAAAAAAAAAAAAAAAAPDkfgDIhI/FACgAAA==