Re: Bad number of digits in brace sequence expansion when used increment

2009-08-14 Thread Chet Ramey
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

Re: Bad number of digits in brace sequence expansion when used increment

2009-08-14 Thread Roman Rakus
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 n

Bad number of digits in brace sequence expansion when used increment

2009-07-28 Thread Roman Rakus
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, bu