2
0
mirror of https://git.zx2c4.com/cgit/ synced 2024-11-10 07:10:33 +00:00
cgit/filters/html-converters/man2html
Jason A. Donenfeld 8149be213f filters: import more modern scripts
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2013-05-27 21:54:16 +02:00

6 lines
217 B
Bash
Executable File

#!/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>"