view bin/uniqs @ 6552:8f655a53a592

<oerjan> ` sed -i \'s!bin/UnicodeD!share/UnicodeD!\' bin/multicode; mv {bin,share}/UnicodeD*
author HackBot
date Wed, 13 Jan 2016 01:26:59 +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