in reply to Detecting duplicate entries

Look at the shell command uniq or the node == uniq there are a whole pile of alternative solutions.
--

Zigster