Mercurial > repo
view bin/uniqs @ 6223:fb412a31386c
<tswett> echo \'words ${1---eng-1M --esolangs 20} | sed -re \'\\\'\'s/( |$)/lang\\1/g\'\\\' > bin/langs
author | HackBot |
---|---|
date | Thu, 19 Nov 2015 01:51:15 +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