将python输出保存到shell变量,类似于p下面是我要做的,但是我想用python代替: test=$(perl -e 'print "test"') [webalert@localhost scripts]$ echo $test test ...2024-04-29 已阅读: n次