Skip to content

Creating a man page

pr1ntf edited this page Apr 8, 2016 · 1 revision

How to create a properly formatted man page (iohyve.8) from the iohyve.8.txt file.

When making changes to the man page, you only need to edit the iohyve.8.txt file by hand. We can generate a man page using the FreeBSD port textproc/txt2man.

Use the one-liner below to generate the man page:

cat iohyve.8.txt | txt2man -t iohyve -s 8 -v "FreeBSD System Manager's Manual" > iohyve.8