summary refs log tree commit diff
path: root/bin/man
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-10-08 17:32:13 -0400
committerJune McEnroe <june@causal.agency>2018-10-08 17:32:13 -0400
commit2473e3028e84e99f5ca163b00a8ffc61dc32cdc1 (patch)
tree459a63f5b571a0140ec38e782081b0ff3f52fd24 /bin/man
parentUse col -b to remove formatting for README (diff)
downloadsrc-2473e3028e84e99f5ca163b00a8ffc61dc32cdc1.tar.gz
src-2473e3028e84e99f5ca163b00a8ffc61dc32cdc1.zip
Add ttpre
Diffstat (limited to 'bin/man')
-rw-r--r--bin/man/bin.73
-rw-r--r--bin/man/ttpre.132
2 files changed, 35 insertions, 0 deletions
diff --git a/bin/man/bin.7 b/bin/man/bin.7
index d38e940b..8698c8f8 100644
--- a/bin/man/bin.7
+++ b/bin/man/bin.7
@@ -52,6 +52,9 @@ PSF2 to PNG renderer
 .It Xr psfed 1
 PSF2 font editor
 .
+.It Xr ttpre 1
+man output to HTML
+.
 .It Xr wake 1
 wake-on-LAN
 .
diff --git a/bin/man/ttpre.1 b/bin/man/ttpre.1
new file mode 100644
index 00000000..f772758e
--- /dev/null
+++ b/bin/man/ttpre.1
@@ -0,0 +1,32 @@
+.Dd October 8, 2018
+.Dt TTPRE 1
+.Os "Causal Agency"
+.
+.Sh NAME
+.Nm ttpre
+.Nd man output to HTML
+.
+.Sh SYNOPSIS
+.Nm
+.
+.Sh DESCRIPTION
+.Nm
+formats
+.Xr man 1
+output on standard input
+as an HTML
+.Sy <pre>
+fragment on standard output.
+Ampersands and angle brackets
+are replaced with corresponding HTML entities,
+and backspace formatting sequences
+are replaced with
+.Sy <i>
+and
+.Sy <b>
+tags.
+.
+.Sh SEE ALSO
+.Xr less 1 ,
+.Xr man 1 ,
+.Xr mandoc 1