Below is the file 'muniq' from this revision. You can also download the file.
#!/usr/bin/env python
from sys import stdin
lines = [l.strip() for l in stdin]
ret = []
for l in lines:
if l not in ret:
ret.append(l)
print '\n'.join(ret)