回复 1# 思想之翼
01.txt~21.txt- echo;1234567|gawk -vFS="" "{for(i=1;i<=NF-1;i++)for(j=i+1;j<=NF;j++){n=sprintf(\"\04502d\",++N);print $i$j>n\".txt\"}}"
复制代码 01.txt~35.txt- echo;1234567|gawk -vFS="" "{for(i=1;i<=NF-2;i++)for(j=i+1;j<=NF-1;j++)for(k=j+1;k<=NF;k++){n=sprintf(\"\04502d\",++N);print $i$j$k>n\".txt\"}}"
复制代码
|