test.sh #!/bin/bash#用第3个参数作为下标或position,来获取参数param=$(eval echo \$$3)echo "hello, $param" 转载于:https://www.cnblogs.com/emituofo/p/3480542.html