That might just mean it's working ... If it's not supposed to give ouput when you view it. How do you know it's not working?
You link to the...
An old post but heh, thought i might add a bit:
To show only unique lines from <file>:
$ uniq file
To show only the non-unique lines once:
Separate names with a comma.