最佳答案
如果 inner.sh
是
#...
echo first
echo second
echo third
outer.sh
是
var=`./inner.sh`
# only wants to use "first"...
如何用空格分割 var
?