this is what i tried to achieve, but right it still fails: <ogt> # foo=( 0 1 2 ) i=-1 ; while [[ -v foo[++i] ]] ; do : ; done ; printf $i <shbot> ogt: 3
just in functions not .. .. ?
this is what i tried to achieve, but right it still fails: <ogt> # foo=( 0 1 2 ) i=-1 ; while [[ -v foo[++i] ]] ; do : ; done ; printf $i <shbot> ogt: 3
just in functions not .. .. ?