Search Results

Search: Posts Made By: sumir
5,115
Posted By sumir
Indirect variable assignment
Hi

I have variable A_B=alpha
also var1="A"
var2="B"

I want to retrieve the value alpha using var1 and var2 , somthing like
echo ${${var1}_${var2}} that works. Obviously this is...
Showing results 1 to 1 of 1

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