Im trying to concatenate multiple files with multiple headers to have one file with all the information in it for example.
Numbers 1 2 3 Letters A B C
Numbers 4 5 6 Letters D E F
Will be merged to create File 3:
Numbers 1 2 3 4 5 6 Letters A B C D E F
So far I've tried cat and had file2 added to the end then attempted to grep all data under each header but long story short it failed.
I've tried paste and if the amount of data in each file is the same then its not too bad as it has each files info tabbed next to the last but will create chaos if any file has more entries than another under a header.
Any one got any ideas how to solve this sort of issue?