直接先上代码: myFunction(){ param1=("${!1}") param2=("${!2}") for i in ${param1[@]} do for j in ${param2[@]} do if [ "${i}" == "${j}"… Read More