SRV_1=(e1 e2 e3 e4)SRV_2=(e1 e2) declare -n srvVarfor srvVar in "${!SRV_@}"; do echo "${#srvVar[@]}"done
Standard input is empty
4 2
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!