diff options
author | Biswakalyan Bhuyan <biswa@surgot.in> | 2023-04-06 16:39:52 +0530 |
---|---|---|
committer | Biswakalyan Bhuyan <biswa@surgot.in> | 2023-04-06 16:39:52 +0530 |
commit | 6fa71c7efadb990aad14d1c6a7833e9cae88436d (patch) | |
tree | 5601e8bdd31c113b2dccdb01002daab6dd244eca /filters/html-converters/man2html | |
download | cgit-6fa71c7efadb990aad14d1c6a7833e9cae88436d.tar.gz cgit-6fa71c7efadb990aad14d1c6a7833e9cae88436d.tar.bz2 cgit-6fa71c7efadb990aad14d1c6a7833e9cae88436d.zip |
cgit
Diffstat (limited to 'filters/html-converters/man2html')
-rwxr-xr-x | filters/html-converters/man2html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/filters/html-converters/man2html b/filters/html-converters/man2html new file mode 100755 index 0000000..0ef7884 --- /dev/null +++ b/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>" |