From 5ba8c0894492bd296dd266dd4d6500d53bc9d8e1 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 5 Jan 2017 16:22:07 +1300 Subject: Add htenc(1df) and htdec(1df) --- man/man1/htdec.1df | 18 ++++++++++++++++++ man/man1/htenc.1df | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 man/man1/htdec.1df create mode 100644 man/man1/htenc.1df (limited to 'man') 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 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 -- cgit v1.2.3