摘要: ## Shell实现输入数组,排序 ``` read -a arr echo "input arr ("${arr[@]}")" for ((i=0;i<${#arr[@]};i++)) do for ((j=i+1;j<${#arr[@]};j++)) do if (( ${arr[j]}<${a 阅读全文
posted @ 2023-05-10 17:05 sunpeiyu 阅读(5) 评论(0) 推荐(0) 编辑