How to delete lines in a file that have duplicates or derive the lines that aper once

Input:

a
b
b
c
d
d

I need:

a
c

I know how to get this (the lines that have duplicates) :
b
d

sort file | uniq -d 

But i need opossite of this. I have searched the forum and other places as well, but have found solution for everything except this variant of the problem.

 
sort file | uniq -u

doesn't work for me.... If you can make it work... using grep the other thing is possible.

---------- Post updated at 02:17 PM ---------- Previous update was at 02:16 PM ----------

This works though

Yea sorry. Wrote it wrongly, it should be:

sort file | unig -d

.
Wrote rubbish first time, that is because stres

---------- Post updated at 04:07 AM ---------- Previous update was at 04:05 AM ----------

Great! Thanks man.