in reply to grep confusion

As others, I think that this code should work. Is it possible that the duplicates are not real duplicates, because there is some difference in the binary data after the paths?