changeset 4271:9a09d2cbf6a7

<tswett> mv $(which unidecode) unidecode- && rm $(which unidecode)
author HackBot
date Tue, 07 Jan 2014 03:51:18 +0000
parents 07293c75b4d9
children 0ea5d8e5b787
files bin/unidecode unidecode-
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/bin/unidecode	Tue Jan 07 03:50:19 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-#!/usr/bin/env python
-import sys
-import unicodedata
-print u" ".join("[U+{0:04X} {1}]".format(ord(c), unicodedata.name(c, "DUNNO")) for c in " ".join(sys.argv[1:]).decode("utf-8")).encode("utf-8")
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/unidecode-	Tue Jan 07 03:51:18 2014 +0000
@@ -0,0 +1,4 @@
+#!/usr/bin/env python
+import sys
+import unicodedata
+print u" ".join("[U+{0:04X} {1}]".format(ord(c), unicodedata.name(c, "DUNNO")) for c in " ".join(sys.argv[1:]).decode("utf-8")).encode("utf-8")