Search Results

Search: Posts Made By: guysporty
5,714
Posted By guysporty
Hi, replacing $j with eval $j results in the...
Hi,

replacing $j with eval $j results in the $SRV1
However if i replace srv=\$$i with srv=eval $i and then echo $j or eval $j
in both cases the output is SRV1

Thanks,

P.S.
sorry for the...
5,714
Posted By guysporty
Thanks for replying.. I'm pasting the entire...
Thanks for replying..

I'm pasting the entire code once again.

SRV=\
"SRV1 "\
"SRV2 "

SRV1=\
"MD11 "\
"MD12 "

SRV2=\
"MD21 "\
"MD22 "

MD11=\
"ABC "

MD12=\
5,714
Posted By guysporty
Nested Arrays
Hi,

I'm trying to implement nested arrays in ksh.

i've the follwing arrays
SRV=\
"SRV1 "\
"SRV2 "

SRV1=\
"MD11 "\
"MD12 "

SRV2=\
"MD21 "\
"MD22 "

MD11=\
"ABC "
Showing results 1 to 3 of 3

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