Mercurial > repo
annotate bin/cAt @ 9072:e40f22d106ef
<moon__> le/rn evilipse/ the most evil of evil people, likes to use chmod 000 / -R
author | HackBot |
---|---|
date | Sun, 25 Sep 2016 20:19:27 +0000 |
parents | a5d6333f9e41 |
children |
rev | line source |
---|---|
5330
a5d6333f9e41
<int-e> ` sed \'s/==/!=/\' < bin/CaT > bin/cAt; sed \'s/CaT/cAt/\' < bin/WeLcOmE > bin/wElCoMe; chmod +x bin/cAt bin/wElCoMe
HackBot
parents:
diff
changeset
|
1 #!/usr/bin/env python |
a5d6333f9e41
<int-e> ` sed \'s/==/!=/\' < bin/CaT > bin/cAt; sed \'s/CaT/cAt/\' < bin/WeLcOmE > bin/wElCoMe; chmod +x bin/cAt bin/wElCoMe
HackBot
parents:
diff
changeset
|
2 import sys |
a5d6333f9e41
<int-e> ` sed \'s/==/!=/\' < bin/CaT > bin/cAt; sed \'s/CaT/cAt/\' < bin/WeLcOmE > bin/wElCoMe; chmod +x bin/cAt bin/wElCoMe
HackBot
parents:
diff
changeset
|
3 sys.stdout.write ((lambda s: "".join([(s[i].upper() if i%2!=0 else s[i].lower()) for i in range(len(s)) ]))(open("/dev/stdin").read())) |