I have limited coding skills in Unix so I am asking for help.
I have 2 files coming in:
file1:
column names
Key Count
68150    500
68220    300
68448    200
68778    500
file2:
68150    53
68171     6
68448    18
68778    05
68993    13
What I need is: 1 - A single record for all of the unique keys between the 2 files. 2 - Where the key matches the Count fields are added together.
Output file:
68150    553
68171      6
68220    300
68448    215
68778    505
68993    13
I have looked a the 'join' 'comm' 'diff' and 'sort' commands and they don't appear to be what I need.
 
    