Hacker News new | past | comments | ask | show | jobs | submit login

Wow, never knew about that. Due to zero-padding, I found I actually needed two commands for this to work properly:

    http://hackermonthly.com/xmas/hackermonthly-issue00{1..9}.zip
    http://hackermonthly.com/xmas/hackermonthly-issue0{10..19}.zip



Bash is smart:

    $ echo {01..20}
    01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20
    $ echo {1..20}
    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


Bash 4 is smart. Bash 3 isn't.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: