]> andersk Git - gssapi-openssh.git/commitdiff
Script to turn plain man pages into html now that we want to make html man
authorysvenkat <ysvenkat>
Fri, 22 Jan 2010 22:31:32 +0000 (22:31 +0000)
committerysvenkat <ysvenkat>
Fri, 22 Jan 2010 22:31:32 +0000 (22:31 +0000)
pages available on the web,

openssh/make_html [new file with mode: 0755]

diff --git a/openssh/make_html b/openssh/make_html
new file mode 100755 (executable)
index 0000000..a685a89
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+# expect man2html 3.x from <http://www.oac.uci.edu/indiv/ehood/man2html.html>
+for manpage in `ls *.[0-9]`; do
+  nroff -man $manpage | man2html -botm 0 -topm 0 > $manpage.html
+done
This page took 0.051007 seconds and 5 git commands to generate.