Quote:
Originally Posted by ratinox
groff uses mandoc underneath with the eponymous '-mandoc' switch.
|
No, “mandoc” is not the same thing as “groff -mandoc”. Both tools can convert manpages to HTML, but they are different programs written by different authors and produce different HTML. “groff -mandoc” refers to the input filetypes it supports (the two common manpage languages “man” and “mdoc”), as does the program name “mandoc,” but they’re not otherwise related. mandoc’s HTML is better quality, making it the tool of choice for this job.