diff options
Diffstat (limited to 'filters/html-converters/man2html')
-rwxr-xr-x | filters/html-converters/man2html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/filters/html-converters/man2html b/filters/html-converters/man2html new file mode 100755 index 0000000..1b28437 --- /dev/null +++ b/filters/html-converters/man2html | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/sh | ||
2 | echo "<div style=\"font-family: monospace\">" | ||
3 | groff -mandoc -T html -P -r -P -l | egrep -v '(<html>|<head>|<meta|<title>|</title>|</head>|<body>|</body>|</html>|<!DOCTYPE|"http://www.w3.org)' | ||
4 | echo "</div>" | ||
5 | |||