From f07f13ee00e3d2ab56bacba51e0b6dab5a238e8a Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 22 Sep 2011 20:12:51 +0200 Subject: ukrepl: moved --- ukrepl/ukrepl | 7 +++++++ ukrepl/ukrepl.py | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100755 ukrepl/ukrepl delete mode 100755 ukrepl/ukrepl.py diff --git a/ukrepl/ukrepl b/ukrepl/ukrepl new file mode 100755 index 00000000..93d15ac0 --- /dev/null +++ b/ukrepl/ukrepl @@ -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), diff --git a/ukrepl/ukrepl.py b/ukrepl/ukrepl.py deleted file mode 100755 index 93d15ac0..00000000 --- a/ukrepl/ukrepl.py +++ /dev/null @@ -1,7 +0,0 @@ -#!/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), -- cgit v1.2.3