view bin/uniqs @ 8087:02477e774fc0

<oerjan> ` sed -i \'s/anti/ante/\' wisdom/oerjan
author HackBot
date Thu, 19 May 2016 23:22:51 +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