aboutsummaryrefslogtreecommitdiffstats
path: root/nocompile/bin/unescape
diff options
context:
space:
mode:
Diffstat (limited to 'nocompile/bin/unescape')
-rwxr-xr-xnocompile/bin/unescape7
1 files changed, 7 insertions, 0 deletions
diff --git a/nocompile/bin/unescape b/nocompile/bin/unescape
new file mode 100755
index 0000000..c3cac84
--- /dev/null
+++ b/nocompile/bin/unescape
@@ -0,0 +1,7 @@
+#!/bin/sh
+if [ "_$1" != "_" ];then
+ l="$1"
+else
+ read l
+fi
+printf "$(echo "$l" | sed "s/%/\\\\x/g")"