summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2011-09-22 20:11:58 +0200
committermakefu <github@syntax-fehler.de>2011-09-22 20:11:58 +0200
commit149e3ecd58c272c54339a0d7f26ec05480d2aeb6 (patch)
treec3812dbf00b069b32ae64da7ab90abc3a2d020ee
parent32ddd0b2dec60ac99e30e26819e4653ccc47690e (diff)
ukrepl: initial commit
ukrepl is the ultimate troll-engine for ascii-only users
-rwxr-xr-xukrepl/ukrepl.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/ukrepl/ukrepl.py b/ukrepl/ukrepl.py
new file mode 100755
index 00000000..93d15ac0
--- /dev/null
+++ b/ukrepl/ukrepl.py
@@ -0,0 +1,7 @@
+#!/usr/bin/python
+import sys
+wont_change = [ ' ', '\n']
+for line in sys.stdin:
+ for char in line:
+ if char in wont_change: print char,
+ else: print unichr(0xFF00 + ord(char)-32),