diff options
Diffstat (limited to 'www/git.causal.agency/cgit/filters/html-converters/man2html')
-rwxr-xr-x | www/git.causal.agency/cgit/filters/html-converters/man2html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/www/git.causal.agency/cgit/filters/html-converters/man2html b/www/git.causal.agency/cgit/filters/html-converters/man2html new file mode 100755 index 00000000..0ef78841 --- /dev/null +++ b/www/git.causal.agency/cgit/filters/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>" |