max-mapper / nugget

minimalist wget clone written in node. HTTP GET files and downloads them into the current directory
BSD 3-Clause "New" or "Revised" License
168 stars 30 forks source link

How does the curly-brace expansion work? #13

Closed zeke closed 8 years ago

zeke commented 8 years ago

This is in the docs:

multiple

Is there a name for this {25..26} syntax?

What piece of code is interpreting this as a range of URLs?

mafintosh commented 8 years ago

bash expands the {...} syntax into multiple arguments. try running echo foo{1..5} fx

zeke commented 8 years ago

😎