|
From: | Alex fxmbsw7 Ratchev |
Subject: | re: doesnt interate the array anymore, what am i doing wrong |
Date: | Mon, 8 Mar 2021 02:05:38 +0100 |
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 .. .. ?
[Prev in Thread] | Current Thread | [Next in Thread] |