Search Results

Search: Posts Made By: Perderabo
9,158
Posted By Perderabo
You really should be using an array: ...
You really should be using an array:

var[i]=$i
echo ${var[i]}

However, you can do exactly what you want:

eval var_$i=\$i
eval echo \$var_$i
Showing results 1 to 1 of 1

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