Roman Rakus wrote: > 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?
I had already fixed it a different way before the original message appeared. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/