patchThe GNU Bourne-Again SHell - Patches: patch #4755, curly braces expansion using...


You are not allowed to post comments on this tracker with your current authentification level.

patch #4755: curly braces expansion using leading-zeroes

Submitted by:  Carlo Caputo <zed9h>
Submitted on:  Wed Jan 4 00:18:07 2006  
Votes:  100  
Category: NonePriority: 3 - Low
Status: DonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Wed Jan 4 00:18:07 2006, original submission:

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.

Carlo Caputo <zed9h>


Attached Files
file #9410:  bash-3.1-mkseq-zero-fill.patch added by zed9h (3kB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by chet (Updated the item)
  • -unavailable- added by dmchurch (Voted in favor of this item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 100 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon May 4 14:15:19 2015chetStatusNone=>Done
    Wed Oct 17 00:41:21 2007dmchurchCarbon-Copy-=>Added dmchurch
    Wed Jan 4 00:18:07 2006zed9hAttached File-=>Added bash-3.1-mkseq-zero-fill.patch, #5703
      Carbon-Copy-=>Added barrett9h

    Back to the top

    Powered by Savane 3.1-cleanup1