shell腳本傳入的參數變量是全局變量

#!/bin/bash testtranfun(){     echo "++++++++++"     echo $a     echo "++++++++++" } parse_arg(){ for i in " [email protected]";do     if [[ $i = *"="* ]];then         eval "$i"     fi done } main(){
相關文章
相關標籤/搜索