view bin/uniqs @ 8030:7ca323781746

<shachaf> ` sed -i \'s/$/./\' wisdom/oerjan
author HackBot
date Thu, 12 May 2016 21:26:25 +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