Search Results

Search: Posts Made By: sobolev
1,628
Posted By sobolev
This way it runs! eval echo \$${name}_age or ...
This way it runs!
eval echo \$${name}_age
or
eval echo '$'${name}_age

Thanks anad_bh!!!
1,628
Posted By sobolev
Thanks! I'm using csh. I should I use the...
Thanks!
I'm using csh.
I should I use the "eval" command?
1,755
Posted By sobolev
address variable content with csh
By using a csh, I want to address a variable content whose name is/matches the content of a given other variable.
i.e.
set name=´sam´
set ${name}_age=´27´

So, by typing: echo ${name}_age
I...
1,628
Posted By sobolev
addressing variable content...
I want to address a variable content whose name is/matches the content of a given other variable.
i.e.
set name=´sam´
set ${name}_age=´27´

So, by typing: echo ${name}_age
I correctly obtain:...
Showing results 1 to 4 of 4

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