.\" Man page for man-recode .\" .\" Copyright (C) 2019 Colin Watson .\" .\" 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. .pc "" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH MAN-RECODE 1 2024-04-05 2.12.1 マニュアルページユーティリティー .SH 名前 man-recode \- convert manual pages to another encoding .SH 書式 \fBman-recode\fP \fB\-t\fP \fIto\-code\fP {\|\fB\-\-suffix=\fP\fIsuffix\/\fP\||\|\fB\-\-in\-place\fP\|} [\|\fB\-dqhV\fP\|] [\|\fIfilename\fP\|] .SH 説明 \fBman-recode\fP converts multiple manual pages from one encoding to another, guessing the appropriate input encoding for each one. It is useful when permanently recoding pages written in legacy character sets, or in build systems that need to recode a set of pages to a single common encoding (usually UTF\-8) for installation. When converting many manual pages, this program is much faster than running \fBman \-\-recode\fP or \fBmanconv\fP on each page. .PP If an encoding declaration is found on the first line of a manual page, then that declaration is used as the input encoding for that page. Failing that, the input encoding is guessed based on the file name. .PP Encoding declarations have the following form: .PP .RS .nf .if !'po4a'hide' \&\(aq\e" \-*\- coding: UTF\-8 \-*\- .fi .RE .PP または (マニュアルページ前処理系により宣言された場合) .PP .RS .nf .if !'po4a'hide' \&\(aq\e" t \-*\- coding: ISO\-8859\-1 \-*\- .fi .RE .SH オプション .TP \fB\-t\fP \fIencoding\/\fP, \fB\-\-to\-code=\fP\fIencoding\fP Convert manual pages to \fIencoding\fP. .TP \fB\-\-suffix=\fP\fIsuffix\fP Form each output file name by appending \fIsuffix\fP to the input file name, after removing any compression extension. .TP .if !'po4a'hide' .B \-\-in\-place Overwrite each input file with the output, after removing any compression extension. .TP .if !'po4a'hide' .BR \-q ", " \-\-quiet マニュアルページが変換できなかった場合でもエラーメッセージを表示しません。 .TP .if !'po4a'hide' .BR \-d ", " \-\-debug デバッグ情報を表示します。 .TP .if !'po4a'hide' .BR \-h ", " \-\-help ヘルプメッセージを表示して終了します。 .TP .if !'po4a'hide' .BR \-V ", " \-\-version バージョン情報を表示します。 .SH 関連項目 .if !'po4a'hide' .IR iconv (1), .if !'po4a'hide' .IR man (1), .if !'po4a'hide' .IR manconv (1) .SH バグ .if !'po4a'hide' https://gitlab.com/man-db/man-db/-/issues .br .if !'po4a'hide' https://savannah.nongnu.org/bugs/?group=man-db .SH 著者 .nf .if !'po4a'hide' Colin Watson (cjwatson@debian.org). .fi