Search Results

Search: Posts Made By: xfouxs
21,521
Posted By xfouxs
Bash: bad substitution problem...pls help!
I have this situation in my script (simplified):

A=C
C=10

I need to get number 10 using just A variable.

I tried with :
echo $`echo $A` - but i get $C string (i need number)


Thanks...
Showing results 1 to 1 of 1

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