一种shell并发模型
摘要:
#!/bin/bash parallel=10 fileArr=(`ls -1 fileid/pre*`) for ((i=0; i<${#fileArr[*]}; i+=$parallel)); do for ((j=$i; j<$i+$parallel; j++)); do if (($j<${ 阅读全文
posted @ 2020-04-04 22:11 LoveFlying-Nine 阅读(294) 评论(0) 推荐(0) 编辑