1
0
Fork 0
bash/tests/nameref9.sub
Daniel Baumann fa1b3d3922
Adding upstream version 5.2.37.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 06:49:21 +02:00

8 lines
102 B
Text

arr=( idx1 idx2 )
i='arr[1]'
echo ${!i}
echo ${!i/x/X}
typeset -n f='arr[1]'
echo ${f}
echo ${f/x/X}