Interesting!
Corion
helped me with this one. To construct an "array" that consists of the numbers 1 through 10, use the following:
bash$ LIST=`seq -s " " 1 10` bash$ echo $LIST 1 2 3 4 5 6 7 8 9 10
[download]
Comment on
Bash analog for Perl's nifty list constructor
Download
Code
Back to
Cool Uses for Perl