diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Reorganize into source, assets and libraries
The C sources move to source/, the served files to assets/, the bundled Git submodule to libraries/git and the filter scripts to extensions/. Everything the build generates now lands in build/, so a clean is a single remove and the tree stays clean.
Diffstat (limited to 'extensions/html-converters/man2html')
-rwxr-xr-xextensions/html-converters/man2html4
1 file changed, 4 insertions, 0 deletions
diff --git a/extensions/html-converters/man2html b/extensions/html-converters/man2html
new file mode 100755
index 0000000..0ef7884
--- /dev/null
+++ b/extensions/html-converters/man2html
@@ -0,0 +1,4 @@
+#!/bin/sh
+echo "<div style=\"font-family: monospace\">"
+groff -mandoc -T html -P -r -P -l | egrep -v '(<html>|<head>|<meta|<title>|</title>|</head>|<body>|</body>|</html>|<!DOCTYPE|"http://www.w3.org)'
+echo "</div>"