Mercurial > repo
view bin/uniqs @ 5847:9bf80fcf858b
<Jafet> ` sed -i -e \'s,IOError,EOFError,\' bin/uniqs
author | HackBot |
---|---|
date | Sat, 18 Jul 2015 10:27:52 +0000 |
parents | aae488a4cfcf |
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