更新时间:2022-03-18 04:13:05
您可以将sort与进程替换一起使用:
sort
You can use sort with process substitution:
sort -n <(printf "%s\n" "${NUM_ARR[@]}")
如何在ksh中对整数数组进行排序Unix Shell脚本
如何在Magento中按字母顺序对类别列表数组进行排序