BEGIN { FS=OFS="," Boost=1 Amount="0.5" } { for(X=1;X<=17;X++) { D[NR,X]=$X } } END { for(B=0;B<=Boost;B++) { Rec=NR; for(b=1;b<=B;b++) { Rec*=Amount; } for(X=1;X<=int(Rec);X++) { print D[X,1],D[X,2],D[X,3],D[X,4],D[X,5],D[X,6],D[X,7],D[X,8],D[X,9],D[X,10],D[X,11],D[X,12],D[X,13],D[X,14],D[X,15],D[X,16],D[X,17] } } }