Search Results

Search: Posts Made By: RudiC
Forum: Programming 03-24-2018
2,384
Posted By RudiC
Ohhh - got it . . . Try - recent bash (ksh)...
Ohhh - got it . . . Try - recent bash (ksh) required -
animals=(Lion Tiger Panther Cougar Cheetah Leopard)
DLT=1
IDX=3
for i in {1..20}
do echo $IDX: ${animals[IDX]}
(( IDX %...
Forum: Programming 03-23-2018
2,384
Posted By RudiC
That spec is beyond me. Mayhap others, with some...
That spec is beyond me. Mayhap others, with some assumptions on e.g. shell and data structure, find a sensible interpratation of what you write.

For an index not to exceed array boundaries the...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 11:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy