aboutsummaryrefslogtreecommitdiffstats
path: root/nocompile/bin/decode_html_entities
diff options
context:
space:
mode:
Diffstat (limited to 'nocompile/bin/decode_html_entities')
-rwxr-xr-xnocompile/bin/decode_html_entities4
1 files changed, 4 insertions, 0 deletions
diff --git a/nocompile/bin/decode_html_entities b/nocompile/bin/decode_html_entities
new file mode 100755
index 0000000..08bd7c9
--- /dev/null
+++ b/nocompile/bin/decode_html_entities
@@ -0,0 +1,4 @@
+#!/bin/sh
+sed "s/\>/>/g" \
+ | sed "s/\&lt;/</g" \
+ | sed "s/\&amp;/\&/g"