aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/man1/htdec.1df18
-rw-r--r--man/man1/htenc.1df18
2 files changed, 36 insertions, 0 deletions
diff --git a/man/man1/htdec.1df b/man/man1/htdec.1df
new file mode 100644
index 00000000..59862269
--- /dev/null
+++ b/man/man1/htdec.1df
@@ -0,0 +1,18 @@
+.TH HTDEC 1df "June 2016" "Manual page for htdec"
+.SH NAME
+.B htdec
+\- quick-and-dirty HTML to text decoding for text nodes
+.SH SYNOPSIS
+.B htdec
+/usr/share/lovecraft/the-silver-key.html > the-silver-key.txt
+.br
+curl http://example.com/netstat.html |
+.B htdec
+.SH DESCRIPTION
+.B htdec
+unescapes left angle quotes, right angle quotes, and ampersands to put HTML
+text node content into plain text.
+.SH SEE ALSO
+htdec(1df)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>
diff --git a/man/man1/htenc.1df b/man/man1/htenc.1df
new file mode 100644
index 00000000..57e4d308
--- /dev/null
+++ b/man/man1/htenc.1df
@@ -0,0 +1,18 @@
+.TH HTENC 1df "June 2016" "Manual page for htenc"
+.SH NAME
+.B htenc
+\- quick-and-dirty text to HTML encoding for text nodes
+.SH SYNOPSIS
+.B htenc
+/usr/share/lovecraft/the-silver-key.txt > the-silver-key.html
+.br
+netstat -aunt |
+.B htenc > netstat.html
+.SH DESCRIPTION
+.B htenc
+escapes ampersands, left angle quotes, and right angle quotes to put text into
+a form that should be suitable to include in XML/HTML text nodes.
+.SH SEE ALSO
+htdec(1df)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>