I would like to merge at least two tables using a DateTimeStamp column of the format "%Y-%m-%d %H:%M:%OS" (e.g. "28-Jun-2019 20:50:55.123"). Although at different positions, the DateTimeStamp column is present in all tables, but the interval information and all other columns differ between tables. Every table is in a different tab-separated .txt-file. I would like to combine the information of all tables into one table.
I have:
A.txt:
DateTimeStamp AEvents
28-Jun-2019 20:50:55.123 X
28-Jun-2019 20:53:52.237 Y
...
B.txt:
BEvents DateTimeStamp
Z 28-Jun-2019 20:52:23.328
W 28-Jun-2019 20:51:41.962
...
I would like to get:
AB.txt:
DateTimeStamp AEvents BEvents
28-Jun-2019 20:50:55.123 X
28-Jun-2019 20:51:41.962 W
28-Jun-2019 20:52:23.328 Z
28-Jun-2019 20:53:52.237 Y
...