diff options
author | June McEnroe <june@causal.agency> | 2020-12-27 18:45:04 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-12-27 18:45:04 -0500 |
commit | 85016e706cd00e527dba3fa83b2783dfb56a4ffa (patch) | |
tree | fc28a97fede3b74ae2cb2e778ffd4c0ae59c637b /filters/html-converters/man2html | |
download | src-85016e706cd00e527dba3fa83b2783dfb56a4ffa.tar.gz src-85016e706cd00e527dba3fa83b2783dfb56a4ffa.zip |
Squashed 'www/git.causal.agency/cgit/' content from commit 02221fd3
git-subtree-dir: www/git.causal.agency/cgit git-subtree-split: 02221fd3fe523a3293d64e3359036e3a71d6fd7e
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 00000000..0ef78841 --- /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>" |