view bin/uniqs @ 5955:de7749cfb1d9

<fizzie> ` sed -i -e \'s,>/tmp/a.c &&,|,;s|/tmp/a.c|-x c -|\' bin/cc
author HackBot
date Thu, 03 Sep 2015 08:03:54 +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