I am looking for a way to combine multiple files with unequal row lengths. Each file has 2 columns, of which the first is the row name, and the second an output-value (number). I have many different files of this type, and I want to merge these based on the row name. The file name should be the second, third, etcetera, column name.
Example
file1
#results of experiment 1
outcome1 15
outcome2 2
outcome3 1008
file2
#results of experiment 2
outcome1 440
outcome2 76
outcome3 4324
outcome4 873
Expected output:
file1 file2
outcome1 15 440
outcome2 2 76
outcome3 1008 4324
outcome4 N/A 873
Thanks in advance for your suggestions!
Alexander