Mercurial > repo
view bin/uniqs @ 6658:c1477023c681
<oerjan> mkx bin/echo-p//echo "$1"; [[ "$1" == */* ]] && mkdir -p "${1%/*}" 2>/dev/null
author | HackBot |
---|---|
date | Tue, 09 Feb 2016 01:12:38 +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