view bin/uniqs @ 8129:487ed0f7af34

<fizzie> ` echo \'^tmp/\' > .hgignore # kablam?
author HackBot
date Wed, 25 May 2016 01:11:45 +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