view bin/uniqs @ 6694:a276b829fd72

<zgrep> ` chmod +x bin/tomfoolery
author HackBot
date Wed, 10 Feb 2016 02:18:41 +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