annotate bin/cAt @ 5643:56dcce63901b

<tswett> revert
author HackBot
date Sun, 21 Jun 2015 02:47:59 +0000
parents a5d6333f9e41
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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()))