Send As SMS

daily discovery

Memory dump of new things discovered daily.

Friday, August 11, 2006

Generating padded sequences with jot

Here is an example on how to generate 3 digit 0-padded numbers from 1 to 250 using jot:
jot -w "%.3d" 250 1 250 1


Cheers,
Steve


0 Comments:

Post a Comment

<< Home