aboutsummaryrefslogtreecommitdiff
path: root/bin/htenc.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/htenc.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/htenc.sed')
-rw-r--r--bin/htenc.sed4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/htenc.sed b/bin/htenc.sed
new file mode 100644
index 00000000..0429b525
--- /dev/null
+++ b/bin/htenc.sed
@@ -0,0 +1,4 @@
+# Quick-and-dirty HTML text encoding
+s_&_\&amp;_g
+s_<_\&lt;_g
+s_>_\&gt;_g