Sorry if this is a FAQ, I looked there but could not find an
answer to my problem.
given the following in a csh:
set tmp1_dir = ( ab cd ef gh )
set tmp2_dir = ( ij kl mn op )
set tmps = ( tmp1 tmp2 )
foreach tmp ( $tmps )
set tmp_dir = "$tmp"_dir
echo $tmp_dir
** this gives me tmp1 and tmp2, I want to get the
contents of both, ie $($tmp_dir) but for the life
of me cannot figure out how to do the double expansion.
Any help would be very appreciated,
E-mail would be better, but I can't be picky.
TIA,
Mark Haack
Software Engineer
Lockheed-Martin
Orlando, Florida