I have a two files, file A and B, which have 5 columns, and each 5 columns are made up of random numbers, that means, numbers are all different.
They have same amount of lines (Both 1000 lines)
I hope to do a operation
1) 2nd column of file A - 2nd column of file B
2) 5th column of file A - 3rd column of file B
and print them out with file name 'results' with
First column: 1st column of file A
Second column: result of 1)
Third column: result of 2)
I've been tried to use cat and awk, but not works. Need any help here~
They have same amount of lines (Both 1000 lines)
I hope to do a operation
1) 2nd column of file A - 2nd column of file B
2) 5th column of file A - 3rd column of file B
and print them out with file name 'results' with
First column: 1st column of file A
Second column: result of 1)
Third column: result of 2)
I've been tried to use cat and awk, but not works. Need any help here~