View Single Post
Old 12-06-2024, 09:04 AM   #18
ratinox
Guru
ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.
 
Posts: 786
Karma: 11053908
Join Date: Oct 2016
Location: Somewhere in Time
Device: Forma, iPad Mini
Quote:
Originally Posted by Kurler View Post
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.
Are you sure about that? I was under the impression that groff uses the mandoc(1) program or code when the -mandoc switch is used. I do know that standalone mandoc on BSD is designed specifically and only for man pages where groff and other roff-alikes are general purpose markup parsers, so if groff isn't using mandoc(1) then that would be a reason for the differences.
ratinox is offline   Reply With Quote