On 07/28/2009 04:22 PM, Roman Rakus wrote:
When we use 0 prefix and increment bash will prefix all integers with
bad number of zeroes. Man page says "When either x or y begins with a
zero, the shell attempts to force all generated terms to contain the
same number of digits, zero-padding where necessary."
The number of digits is same, but not what would anyone expect.
Repeated by:
echo {1..05..1}
Actual result:
00001 00002 00003 00004 00005
Desired result:
01 02 03 04 05
Patch included.
RR
Chet, what do you think about it?
RR