diff options
author | makefu <github@syntax-fehler.de> | 2011-09-22 20:11:58 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2011-09-22 20:11:58 +0200 |
commit | 149e3ecd58c272c54339a0d7f26ec05480d2aeb6 (patch) | |
tree | c3812dbf00b069b32ae64da7ab90abc3a2d020ee | |
parent | 32ddd0b2dec60ac99e30e26819e4653ccc47690e (diff) |
ukrepl: initial commit
ukrepl is the ultimate troll-engine for ascii-only users
-rwxr-xr-x | ukrepl/ukrepl.py | 7 |
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), |