The GNU Bourne-Again SHell - Patches: patch #4755, curly braces expansion using...
You are not allowed to post comments on this tracker with your current authentication level.
patch #4755: curly braces expansion using leading-zeroes
Submitter: | Carlo Caputo <zed9h> | ||
Submitted: | Wed 04 Jan 2006 12:18:07 AM UTC | ||
Votes: | 100 | ||
Category: | None | Priority: | 3 - Low |
Status: | Done | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 100 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-05-04 | chet | Status | None | Done | |
2007-10-17 | dmchurch | Carbon-Copy | - | Added dmchurch | |
2006-01-04 | zed9h | Attached File | - | Added bash-3.1-mkseq-zero-fill.patch, #5703 | |
Carbon-Copy | - | Added barrett9h |
Powered by Savane 3.13-f8d8.
Corresponding source code
numeric range expansion changed to take in account possible leading zeroes, for better formatting and to avoid ugly workarounds like {00{1..9},0{10..99},{100..999}}; so, one can do:
{000..1} 000 001
{001..0} 001 000
{0..001} 000 001
{1..000} 001 000
the longuest number on the sequence dictates the final zero-fill length:
{00..001} 000 001
{01..000} 001 000
character sequences were not altered.