Hi guys,
I'm using tcsh.
I have a string that contains variable names: "var1:var2:var 3", I want to be able to do different operations on the content of those variables:
I extract the variable names with: foreach var ( `echo $string | sed 's/:/\n/g'`)
now in the variable `var` I have the variable's name of which I need the content of.
How can I access it, something like: `echo $(echo `$var`)` ends in illegal variable name.
hope you can help me.
Marat,