Re: declare -n next=arr[++elem] == nowork ? [[ -v

2021-03-09 Thread Chet Ramey
On 3/8/21 11:19 AM, Alex fxmbsw7 Ratchev wrote: thank you for your answer i have a question about [[ -v $next ]] i havent tried but you say it works it would ? expand $next but wont it then check '[[ -v ]]' and fail ? Try it. -v will evaluate an array reference with a subscript to see if tha

Re: declare -n next=arr[++elem] == nowork ? [[ -v

2021-03-09 Thread Alex fxmbsw7 Ratchev
ill maybe make a post there, i just joined, other account was there but seemfuly didint work out about to ${#arr[@]} i forgot \\ didnt watch, i was backly thinking of saving the var to an 'isend' var, but that was old style before that, i wasnt using it cause i thought speedful backdraw, to always