view bin/uniqs @ 8934:90a3b46c51bb

<oerjan> sled bin/bf//2d
author HackBot
date Thu, 18 Aug 2016 02:01:32 +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