view bin/uniqs @ 6302:5ed2d5bea9fd

<oerjan> rm blah \\ blah \\ blah
author HackBot
date Sat, 28 Nov 2015 07:24:41 +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