I have a very huge file containing numbers only. file -
123212
234234
12324
1243223
5453443
And want to pair each line with all others. Output like below
123212,234234
123212,12324
123212,1243223
123212,5453443
234234,123212
234234,12324
234234,1243223
234234,5453443
12324,123212
12324,234234
12324,1243223
12324,5453443
1243223,123212
1243223,234234
1243223,12324
1243223,5453443
5453443,123212
5453443,234234
5453443,12324
5453443,1243223
since the input file contains more than 50L records. so doing it via a loop will be a costly operation.
L
mean in50L
? – John1024 Sep 03 '15 at 05:00K
. – MatthewRock Sep 03 '15 at 10:02