view bin/uniqs @ 7723:551c10d9fa9e

<fizzie> mkx bin/f//${1%% *} "$(< ${1#* })"
author HackBot
date Wed, 04 May 2016 00:42:30 +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