I want to concatenate two ascii tables (one below the other) that share some but not all column headings.
e.g.
Table 1
Head1 HeadA
1 a
2 b
Table 2
HeadA HeadFoo
c bar
And the result would be
Head1 HeadA HeadFoo
1 a
2 b
c bar
There is a babel library which does not quite do this, but it may have some helper functions (which I can't locate in emacs 24.5, but I guess I could copy paste the lisp into a file and read it).
Regarding the answers: Both Gastove and Tobias' answers work correctly. I chose Tobias only because it is more "pure".