Changes

Jump to navigation Jump to search
185 bytes added ,  01:01, 27 March 2015
Line 78: Line 78:     
=== Arrays ===
 
=== Arrays ===
 +
<source lang="bash">
 +
ARRAY=(one two three)
 +
 +
echo ${ARRAY[*]}
 +
one two three
 +
 +
echo $ARRAY[*]
 +
one[*]
 +
 +
echo ${ARRAY[2]}
 +
three
 +
 +
ARRAY[3]=four
 +
 +
echo ${ARRAY[*]}
 +
one two three four
 +
</source>
 +
 
=== Functions ===
 
=== Functions ===
 
<source lang="bash">
 
<source lang="bash">

Navigation menu