diff bin/cAt @ 5330:a5d6333f9e41

<int-e> ` sed \'s/==/!=/\' < bin/CaT > bin/cAt; sed \'s/CaT/cAt/\' < bin/WeLcOmE > bin/wElCoMe; chmod +x bin/cAt bin/wElCoMe
author HackBot
date Sat, 25 Apr 2015 15:25:38 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/cAt	Sat Apr 25 15:25:38 2015 +0000
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+import sys
+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()))