view bin/uniqs @ 6044:a144396c7197

<oerjan> ` echo ho >test
author HackBot
date Sat, 03 Oct 2015 18:30:42 +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