Mercurial > repo
view bin/uniqs @ 10872:a504da186cc8
<shachaf> mkx bin/test//[[ $((RANDOM % 5)) -eq 0 ]] && /bin/test "$@" || kill -9 $$
author | HackBot |
---|---|
date | Mon, 08 May 2017 22:32:34 +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