Merge tags of several files into one

There is a tool in a differnt forum area
/t/9520/1
that extracts all fields.

i would assume that you need an external application to do the cleaning up like a real database that can compare different records with each other.

This external application would then also show the gaps in the data.