view bin/uniqs @ 6097:d67384d0137b

<shachaf> ` echo b_jonas >> bin/olist
author HackBot
date Mon, 19 Oct 2015 20:11:16 +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