I would like to compare one column from one file against another column in another file. If the columns match, I would like to append the first column from the first file, as the first column of the second file.
File1
FID IID
456 2
123 1
789 3
112 4
File2
IID column1 column2 column3... column464
1 Value11 Value12 etc etc ... etc
7 Value71 Value72 etc etc ... etc
2 Value21 Value22 etc etc ... etc
6 Value61 Value62 etc etc ... etc
3 Value31 Value32 etc etc ... etc
Desired output
FID IID column1 column2 column3... column464
123 1 Value11 Value12 etc etc ... etc
456 2 Value21 Value22 etc etc ... etc
789 3 Value31 Value32 etc etc ... etc