$test="hello world"$python -c "print '$test'.split()[1]"world或者$test="hello world"$a="$(python -c "print '$test'.split()[1]")"$echo $aworld