i'm trying to make a huge file of registry tweaks (.reg file) which is essentially an ini file.

i want to paste lots of tweaks i find online without going through and trying to find duplicate entries or duplicate sections.

any idea on how to automate the process and have it automatically merge and delete duplicates to only leave unique sections/keys.

thanks,
Leon