.\" Man page for catman .\" .\" Copyright (C), 1994, 1995, Graeme W. Wilford. (Wilf.) .\" .\" You may distribute under the terms of the GNU General Public .\" License as specified in the file docs/COPYING.GPLv2 that comes with the .\" man-db distribution. .\" .\" Sat Dec 10 14:17:29 GMT 1994 Wilf. (G.Wilford@ee.surrey.ac.uk) .\" .pc "" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH CATMAN 8 2026-11-16 2.13.3 手動分頁工具 .SH 名稱 catman \- 建立或更新預先格式化的手動分頁 .SH 語法 \fBcatman\fP [\|\fB\-d?V\fP\|] [\|\fB\-M\fP \fIpath\fP\|] [\|\fB\-C\fP \fIfile\fP\|] [\|\fIsection\fP\|] \&.\|.\|. .SH 描述 \fBcatman\fP 用於建立一組最新的預先格式化的手動分頁,稱為 cat 頁面。Cat 頁面通常比原始手動分頁顯示得快,但需要額外的儲存空間。支援 cat 頁面的決定由本機管理員做出,他們必須提供合適的目錄來容納它們。 \fBcatman\fP 可用的選項是要預先格式化的手動分頁階層和區段。預設階層是 man\-db 設定檔中指定的系統階層,預設區段則是環境變數 $\fBMANSECT\fP 中以冒號分隔的內容,或者如果 $\fBMANSECT\fP 未定義,則是內建到 \fBman\fP 中的標準集。向 \fBcatman\fP 提供一組以空白分隔的區段名稱將覆寫上述兩者。 \fBcatman\fP 利用與每個階層相關的 \fBindex\fP 資料庫快取來判斷哪些檔案需要格式化。 .SH 選項 .TP .if !'po4a'hide' .BR \-d ", " \-\-debug 列印除錯資訊。 .TP \fB\-M\ \fP\fIpath\fP,\ \fB\-\-manpath=\fP\fIpath\fP 指定替代的以冒號分隔的手動分頁階層搜尋路徑。預設情況下,這是 man\-db 設定檔中指示為系統階層的所有路徑。 .TP \fB\-C\ \fP\fIfile\fP,\ \fB\-\-config\-file=\fP\fIfile\fP 使用此使用者設定檔,而非預設的 \fI\(ti/.manpath\fP。 .TP .if !'po4a'hide' .BR \-? ", " \-\-help 列印說明訊息並退出。 .TP .if !'po4a'hide' .B \-\-usage 列印簡短用法訊息並退出。 .TP .if !'po4a'hide' .BR \-V ", " \-\-version 顯示版本資訊。 .SH 環境 .TP .if !'po4a'hide' .B MANSECT 如果已設定 $\fBMANSECT\fP,其值是以冒號分隔的區段清單,用於判斷要搜尋哪些手動區段以及順序。預設是「1 1p n l 8 3 3p 0 0p 2 3type 5 4 9 6 7」,除非被 \fI/etc/man_db.conf\fP 中的 \fBSECTION\fP 指示詞覆寫。 .TP .if !'po4a'hide' .B MANPATH 如果已設定 $\fBMANPATH\fP,其值會被解讀為要使用的以冒號分隔的說明頁階層搜尋路徑。 請參閱 \fBmanpath\fP(5) 的 \fBSEARCH PATH\fP 區段,了解此環境變數的預設行為和處理方式的詳細資訊。 .SH 檔案 .TP .if !'po4a'hide' .I /etc/man_db.conf man\-db 設定檔。 .TP .if !'po4a'hide' .I /usr/man/index.(bt|db|dir|pag) 傳統的全域 \fIindex\fP 資料庫快取。 .TP .if !'po4a'hide' .I /var/catman/index.(bt|db|dir|pag) 替代或符合 FSSTND 的全域 \fIindex\fP 資料庫快取。 .SH 請參閱 .if !'po4a'hide' .BR man (1), .if !'po4a'hide' .BR manpath (5), .if !'po4a'hide' .BR mandb (8) .SH 作者 .nf .if !'po4a'hide' Wilf.\& (G.Wilford@ee.surrey.ac.uk). .if !'po4a'hide' Fabrizio Polacco (fpolacco@debian.org). .if !'po4a'hide' Colin Watson (cjwatson@debian.org). .fi .SH 錯誤 .if !'po4a'hide' https://gitlab.com/man-db/man-db/\-/issues .br .if !'po4a'hide' https://savannah.nongnu.org/bugs/?group=man\-db