EMBED THIS RECORDING:
<div><script id="playterm-MjAxMy0wMS90dHlyZWNvcmQtMTM1NzQ2NDA5MHw4MHgyNA==" type="text/javascript" src="https://playterm.org/js/?hash=MjAxMy0wMS90dHlyZWNvcmQtMTM1NzQ2NDA5MHw4MHgyNA==" class="size:80x24"></script></div>
Part of a tutorial for LinuxTuts.
sqz said
technically they are not arrays but its called brace expansion.
brace expansion turns stuff like:
foo{0..3} into foo0 foo1 foo2 foo3
and
foo{1,4,6} into foo1 foo4 foo6
Bash arrays are indeed handy:
see http://playterm.org/r/dont-use-ls-but-glob-instead-1386508280