Thanks for the replies after some toying i found this ugly solution myself
for X in $VAR1; do
for Y in `eval echo \\${$X}`; do
v=$Y"_port"
echo $X $Y $v
done
done
So now i can improve my shell script :-)
emiel
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list
- shell script: can it be done? Emiel Metselaar
- Re: shell script: can it be done? Jan Carlson
- Re: shell script: can it be done? Jakub Jelinek
- Re: shell script: can it be done? Michael Schwendt
- Re: shell script: can it be done? Michael Schwendt
- Re: shell script: can it be done? Michael Schwendt
- Re: shell script: can it be done? Emiel Metselaar
- Re: shell script: can it be done? Cameron Simpson
