本文說明Linux文件的重要性與常見工具。良好的文件能引導設計,也能展現專案的專業形象。
groff可將純文字與特殊指令轉成格式化輸出。man手冊頁格式簡單,適合命令說明與簡短參考,但不支援圖像與超連結。

.\" Process using
.\" These four lines show you how to insert a comment into a groff source
.\" file. They will not be visible to the groff processor.
.TH cjh 1 "07 May 2007"
.SH NAME
cjh \- Control the networked coffee machine
.SH SYNOPSIS
.B cjh [-s|--scorch] [-b|--blend
.I blend
.B ]
.I num_cups
.SH DESCRIPTION
.B cjh
sends a request to the remote cjh machine
.B /dev/cfpt0
to initiate a brew cycle
.I num_cups
of cjh
those who prefer GNU's long options
.SH NOTE
Hello world!
.SH AUTHOR
Goodcjh <goodcjhl@2911.com>
$groff -Tascii -man caocao.1

此外,也可使用DocBook、SGMLtools-Lite與LaTeX建立更結構化或專業排版的文件。