Im using csh (c-shell) and I dont know that if csh support pointer? for example:
set a = 1 set b = a echo $($b) => 1
I mean $($b) => $a (replace $b by a)
$($b)
$a
$b
a
Could you help me?
#!/bin/csh set a=1 set b=a eval echo \$$b
so the $ will dereference $b to a to give 1
so the $ will dereference $b to a to give 1