summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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),