Is anybody experience generate a pair of random number by using awk command?
I wanna to generate a pair of random number (range from 1 to 4124) and repeats it 416 times.
Could you please try following and let me know if this helps you.
awk 'BEGIN{j=4124;for(i=1;i<=4124;i++){A=i;B=j;j--};for(k in A){print A[k] OFS B[k];c++;if(c>=416){exit}}}'
Code above will show output of both columns differently but one shouldn't expect like each time output will be different from previous run of command, hope it helps. If you have any queries or you have further requirement request you to please provide in details statement.