合并数据+统计流数

#!/bin/bash      
for file in *.txt;do
          echo $file
done

for file in *.txt;do 
      
      {
      cat $file >>all.txt 
     } 
done
      line=$(cat all.txt|sed -n '$=') 

      cat all.txt >>all${line}个流.txt 

 

posted @ 2017-08-12 14:12  soyosuyang  阅读(117)  评论(0编辑  收藏  举报