If I have 2 files where the first lines contain identical headings:
A 1 aa
A ee 7
I want to combine them like so:
A 1 aa ee 7
Is there a one liner to do this?
Here's another way that's easily scalable to any number of input files (just add them as additional arguments: