Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -1,7 +1,7 @@
|
|||
COLORS=(red white blue)
|
||||
|
||||
# to go from name to number, we make variables out of the color names (e.g. the
|
||||
# variable "$red" has value "1").
|
||||
# to go from name to number, we make variables out of the color names
|
||||
# (e.g. the variable "$red" has value "1").
|
||||
for (( i=0; i<${#COLORS[@]}; ++i )); do
|
||||
eval ${COLORS[i]}=$i
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue