摘要: #!/bin/bashfile=ip.txti=0for line in `cat ip.txt`do array[$i]=$line let i+=1done for (( i=0;i<${#array[@]};i++))#数组长度do echo ${array[i]}done 阅读全文
posted @ 2022-06-22 18:45 MoonXu 阅读(179) 评论(0) 推荐(0)