view bin/uniqs @ 6754:7dd892d4c51b

<zgrep> overwrite bin/tomfoolery = test
author HackBot
date Wed, 10 Feb 2016 04:02:57 +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