aboutsummaryrefslogtreecommitdiff
path: root/bin/htdec.sed
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-05 16:22:07 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-05 16:23:53 +1300
commit5ba8c0894492bd296dd266dd4d6500d53bc9d8e1 (patch)
tree4164c634ad59a78810e5400a120963fdd773a39b /bin/htdec.sed
parentChecking/linting bins/games requires build (diff)
downloaddotfiles-5ba8c0894492bd296dd266dd4d6500d53bc9d8e1.tar.gz
dotfiles-5ba8c0894492bd296dd266dd4d6500d53bc9d8e1.zip
Add htenc(1df) and htdec(1df)
Diffstat (limited to 'bin/htdec.sed')
-rw-r--r--bin/htdec.sed4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/htdec.sed b/bin/htdec.sed
new file mode 100644
index 00000000..6f9d6977
--- /dev/null
+++ b/bin/htdec.sed
@@ -0,0 +1,4 @@
+# Quick-and-dirty HTML text decoding
+s_\&lt;_<_g
+s_\&gt;_>_g
+s_\&amp;_\&_g