Convert nroff output of man pages into html

Contributed by
Larry Philps
Obtained from
GNU Copyleft
man2html takes formatted nroff in standard input (STDIN) and outputs the HTML to standard output (STDOUT). The formatted nroff output is surrounded with <PRE> tags with the following exceptions/additions:

man2html also does the following:

By default, man2html does not put a title, <TITLE>, in the HTML file. However, one can specify a title via the -title command-line option.

Most man pages come as troff input, but our Everest man technology is designed around HTML. This allows those troff input files to be converted non-interactively.
Examined the Perl script
Work Planned
Take your favourite man pages, run it through gnroff -man then pipe that output into man2html. Look at the result with Mosaic.

Note that all this source is configured to be installed under /usr/skunk. To build it for a different location, compile with make CTRBDESTDIR=directory.