view bin/uniqs @ 7011:2cc255008bc3

<b_jonas> `` chmod 644 bin/culprits-ng
author HackBot
date Thu, 25 Feb 2016 07:26:43 +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