#!/bin/ bash set -x array_counter=0 array_value=1 array=(0 0 0) for number in ${ array[@]} do array[$ ...
stackoverflow.com