Search Results

Search: Posts Made By: adgarg
1,917
Posted By adgarg
Thanks for your help !
Thanks for your help !
1,917
Posted By adgarg
help with shell program
I want to print the value of variables a1, a2, a3 in for loop in the following program:

a1=this
a2=is
a3=printed

for((i=1;i<4;i++))
do
var=a$i
#w=`echo $var`
e=${var}
echo $e
done
...
Showing results 1 to 2 of 2

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