Skip to main content
4 of 7
added 79 characters in body

well,
the answer to dereferecing an array by a name passed as variable (partly resembles pointer)
is (example above re-used):

eval echo "\$$(eval echo "{$gral[@]}")"
with $gral holding the array name

Result:

milk cow budgie pla9ne

YEAH! took me much more than 10h net; this IS the answer. Thank you all for your attempts!

Accessing the contents of the contents of a variable.
There are hints leading to the result in abs-guide:
https://tldp.org/LDP/abs/html/abs-guide.html#IVR

enter link description here Committed thanks to Mendel Cooper; so thankful we have this great gift named Advanced Bash-Scripting Guide.

OK,
eval is ugly due to security concerns.
Try to find a better one ...