summary refs log tree commit diff
path: root/bin/man
diff options
context:
space:
mode:
Diffstat (limited to '')
-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