Topic: How to find and remove duplicates
Let`s say I have a file with a list of names and some of them appear multiple times.
How do I find and remove duplicates from that list?
I know that I have to read the file, create a array, do each_line, compare results and delete if there`s a match.
Just can`t quite grasp how to do that last part.
Would appreciate any guidance.