view bin/uniqs @ 8393:6149466f7bfa

<b_jonas> `` echo -n > canary
author HackBot
date Tue, 07 Jun 2016 22:13:53 +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