view bin/uniqs @ 9992:8f91455e4c37

<hppavilion[0]> mkx bin/gwn//grep -ERls "$@" wisdom/*
author HackBot
date Fri, 16 Dec 2016 19:51:56 +0000
parents c989a1669243
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