Current unassigned doc problem reports

Doug Barton dougb at FreeBSD.org
Tue Dec 29 19:38:13 UTC 2009


Vikram Dhillon wrote:
> Thanks a lot for getting back to me, I see that there are some
> problems that involve writing a man-page. I don't know how to do that,
> can you please point me to some links that can help me in doing so.

There are example man page files in /usr/share/examples/mdoc. They
form a good basis to get you started. That's what I use whenever I
have to write one from scratch. Of course you can always read the
nroff and mdoc man pages, although they are pretty dense. There are
also a lot of good examples for "how do I do <something>?" in the man
pages in the base. In general it's better to avoid using the pages in
src/contrib as examples since they are not always "the state of the art."

To check the output of the page you're writing, you do this:
nroff -mdoc example.1 | more

After that it's basically a process of trial and error. :)  We have
some people who are quite good with nroff/mdoc who are always glad to
help.

Writing man pages is something that not a lot of people are willing to
tackle, so this is an area where help is particularly welcome.


Good luck,

Doug

-- 

	Improve the effectiveness of your Internet presence with
	a domain name makeover!    http://SupersetSolutions.com/




More information about the freebsd-doc mailing list