In an org tree consisting of hundreds of headings, how do I find out if there are any that are duplicates?
So, for instance, in the tree below,
* Heading 1 ** some ** other ** headings ** some
I want to latch on to 'some'. I can sort them alphabetically to identify them manually. But with hundreds of headings, it is not practicable.
Also, can I control if it is a perfect match (everything under 'some' is exactly the same in both the instances) or just a heading match (we do not care about what is below 'some')?
This question is very similar to what I am asking. But unfortunately, there is no answer provided there. Although there are some hints in a comment.