view bin/uniqs @ 11089:86f38c1373d9

<shachaf> mkx bin/grWp//grwp -i "$@"
author HackBot
date Mon, 17 Jul 2017 00:09:08 +0000
parents c989a1669243
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