test.txt内容:hello shell world!
myfile="cat test.txt"
echo $myfile #result:cat test.txt
eval echo $myfile #result:hello shell world!
eval的用法:第二次扫描
test.txt内容:hello shell world!
myfile="cat test.txt"
echo $myfile #result:cat test.txt
eval echo $myfile #result:hello shell world!
eval的用法:第二次扫描