如何在shell脚本中调用另一个shell的结果

2025-03-20 05:58:44
推荐回答(1个)
回答(1):

调用的时候给$args加双引号就行了
sh other.sh "$args"

任何字符串变量,在使用的时候最好都加上双引号。