Changes

Jump to navigation Jump to search
1 byte removed ,  13:36, 15 July 2016
m
no edit summary
# the # character gives us the count of the array
echo "we have ${#fruits[@]} fruits available"
printf "%s\n" "${fruits[@]}"
printf "%s\n" "${fruits[@]}"
echo "we have ${#vegetables[@]} vegetables available"
 
printf "%s\n" "${vegetables[@]}"
</source>
4,558

edits

Navigation menu