diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-05 16:22:07 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-05 16:23:53 +1300 |
commit | 5ba8c0894492bd296dd266dd4d6500d53bc9d8e1 (patch) | |
tree | 4164c634ad59a78810e5400a120963fdd773a39b /man | |
parent | Checking/linting bins/games requires build (diff) | |
download | dotfiles-5ba8c0894492bd296dd266dd4d6500d53bc9d8e1.tar.gz dotfiles-5ba8c0894492bd296dd266dd4d6500d53bc9d8e1.zip |
Add htenc(1df) and htdec(1df)
Diffstat (limited to 'man')
-rw-r--r-- | man/man1/htdec.1df | 18 | ||||
-rw-r--r-- | man/man1/htenc.1df | 18 |
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> |