Shell 中的 eval(将字符串当做变量名取值) 功能说明:重新运算求出参数的内容。 a=”hello world” b=a # 通过变量b获取到hello world 字符串 result=eval echo "$"$b echo $result