access array bash code example
Example 1: how to make a list bash
#to create an array:
$ declare -a my_array
#set number of items with spaceBar seperation:
$ my_array = (item1 item2)
#set specific index item:
$ my_array[0] = item1
Example 2: bash list of integers
vals=($(seq 0 0.1 2.5))