view bin/uniqs @ 6298:aad3671dc6a9

<oerjan> rm a.o
author HackBot
date Sat, 28 Nov 2015 07:22:39 +0000
parents 9bf80fcf858b
children
line wrap: on
line source

#!/usr/bin/python
s=set()
try:
 while True:
  l=raw_input()
  if l not in s:
   s.add(l)
   print(l)
except EOFError:
 pass