.TH printf 1 "18 June 2002" "GNU Shell Utilities 2.1"
.\"O .SH NAME
.\"O printf \- format and print data
-.SH ̾Á°
-printf \- ¥Ç¡¼¥¿¤òÀ°·Á¤·¤Æɽ¼¨¤¹¤ë
+.SH 名前
+printf \- データを整形して表示する
.\"O .SH SYNOPSIS
-.SH ½ñ¼°
+.SH 書式
.BI printf " format " [ argument... ]
.sp
.B printf [\-\-help] [\-\-version]
.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
+.SH 説明
.\"O .B printf
.\"O prints the
.\"O .I format
.\"O given
.\"O .IR argument s.
.B printf
-¤Ïʸ»úÎó
+は文字列
.I format
-¤òɽ¼¨¤¹¤ë¡£¤½¤ÎºÝ `%' ¤Ï½ñ¼°»ØÄê»Ò¤È¤·¤Æ¡¢
-¤Þ¤¿ `\e' ¤Ï¥¨¥¹¥±¡¼¥×ʸ»ú¤È¤·¤Æ²ò¼á¤µ¤ì¤ë¡£
-²ò¼á¤Î¤·¤«¤¿¤Ï C ¤Î
+を表示する。その際 `%' は書式指定子として、
+また `\e' はエスケープ文字として解釈される。
+解釈のしかたは C の
.BR printf (3)
-´Ø¿ô¤ÈƱ¤¸¤Ç¤¢¤ë¡£
-°ú¤¿ô
+関数と同じである。
+引き数
.I format
-¤ÏÍ¿¤¨¤é¤ì¤¿
+は与えられた
.I argument
-¤¹¤Ù¤Æ¤ò¥³¥ó¥Ð¡¼¥È¤¹¤ë¤Î¤ËɬÍפʲó¿ôʬºÆÍøÍѤµ¤ì¤ë¡£
+すべてをコンバートするのに必要な回数分再利用される。
.P
.\"O .B printf
.\"O recognizes the following escapes to specify the number of the charcter to
.\"O print
.B printf
-¤Ïɽ¼¨¤¹¤ëʸ»ú¤ÎÈÖ¹æ¤ò»ØÄꤹ¤ë¤¿¤á¤Ë¡¢°Ê²¼¤Î¥¨¥¹¥±¡¼¥×¤òǧ¼±¤¹¤ë¡£
+は表示する文字の番号を指定するために、以下のエスケープを認識する。
.IP \e0ooo
.\"O Octal number (`ooo' is 0 to 3 digits)
-8 ¿Ê¿ô (`ooo' ¤ÎÉôʬ¤Ï 0 ·å¤«¤é 3 ·å¤Þ¤Ç)
+8 進数 (`ooo' の部分は 0 桁から 3 桁まで)
.IP \exhhh
.\"O Hexadecimal number (`hhh' is 1 to 3 digits)
-16 ¿Ê¿ô (`hhh' ¤ÎÉôʬ¤Ï 1 ·å¤«¤é 3 ·å¤Þ¤Ç)
+16 進数 (`hhh' の部分は 1 桁から 3 桁まで)
.IP \euNNNN
.\"O Unicode 16-bit code
-Unicode 16 ¥Ó¥Ã¥È¥³¡¼¥É
+Unicode 16 ビットコード
.IP \eUNNNNNNNN
.\"O Unicode 32-bit code
-Unicode 32 ¥Ó¥Ã¥È¥³¡¼¥É
+Unicode 32 ビットコード
.PP
.\"O Unicode is printed according to the LC_CTYPE environment variable, and
.\"O requires \fBiconv\fR.
-Unicode ¤Ï´Ä¶ÊÑ¿ô LC_CTYPE ¤Ë´ð¤Å¤¤¤Æɽ¼¨¤µ¤ì¡¢\fBiconv\fR ¤òɬÍפȤ¹¤ë¡£
+Unicode は環境変数 LC_CTYPE に基づいて表示され、\fBiconv\fR を必要とする。
.\"O \fBprintf\fR It has an additional escape, `\ec', which causes
.\"O it to produce no further output, and an additional directive, `%b',
.\"O which prints its argument string with `\e' escapes interpreted the way
.\"O .I format
.\"O string.
.B printf
-¤Ë¤Ï `\ec' ¤È¤¤¤¦¥¨¥¹¥±¡¼¥×¤¬Äɲ䵤ì¤Æ¤ª¤ê¡¢
-ɽ¼¨¤ò¤½¤Î°ÌÃÖ¤ÇÄä»ß¤µ¤»¤ë¡£¤Þ¤¿ `%b' ¤È¤¤¤¦½ñ¼°»ØÄê»Ò¤¬Äɲ䵤ì¤Æ¤¤¤ë¡£
-¤³¤ì¤Ï°ú¤¿ô¤Ç»ØÄꤵ¤ì¤¿Ê¸»úÎóÃæ¤Î `\e' ¤ò
+には `\ec' というエスケープが追加されており、
+表示をその位置で停止させる。また `%b' という書式指定子が追加されている。
+これは引き数で指定された文字列中の `\e' を
.I format
-ÆâÉô¤Ç»ØÄꤵ¤ì¤¿ `\e' ¤ÈƱ¤¸¤è¤¦¤Ë¼è¤ê°·¤¦¡£
+内部で指定された `\e' と同じように取り扱う。
.\"O .SH OPTIONS
-.SH ¥ª¥×¥·¥ç¥ó
+.SH オプション
.\"O When GNU
.\"O .B printf
.\"O is invoked with exactly one argument, the following options are recognized:
GNU
.B printf
-¤¬°ú¤¿ô 1 ¤Ä¤À¤±¤Çµ¯Æ°¤µ¤ì¤¿¾ì¹ç¤Ë¤Ï¡¢
-°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤¬Ç§¼±¤µ¤ì¤ë:
+が引き数 1 つだけで起動された場合には、
+以下のオプションが認識される:
.TP
.B "\-\-help"
.\"O Print a usage message on standard output and exit successfully.
-ɸ½à½ÐÎϤ˻ÈÍÑÊýË¡¤Î¥á¥Ã¥»¡¼¥¸¤ò½ÐÎϤ·¤ÆÀµ¾ï½ªÎ»¤¹¤ë¡£
+標準出力に使用方法のメッセージを出力して正常終了する。
.TP
.B "\-\-version"
.\"O Print version information on standard output then exit successfully.
-ɸ½à½ÐÎϤ˥С¼¥¸¥ç¥ó¾ðÊó¤ò½ÐÎϤ·¤ÆÀµ¾ï½ªÎ»¤¹¤ë¡£
+標準出力にバージョン情報を出力して正常終了する。
.\"O .SH NOTES
-.SH Ãí°Õ
+.SH 注意
.\"O Report bugs to bug-sh-utils@gnu.org.
.\"O Page updated by Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
-¥×¥í¥°¥é¥à¤Î¥Ð¥°¤Ë¤Ä¤¤¤Æ¤Ï bug-sh-utils@gnu.org ¤ËÊó¹ð¤·¤Æ¤¯¤À¤µ¤¤¡£
-¥Ú¡¼¥¸¤Î¹¹¿·¤Ï Ragnar Hojland Espinosa
-<ragnar@ragnar-hojland.com> ¤¬¹Ô¤Ã¤Æ¤¤¤Þ¤¹¡£
+プログラムのバグについては bug-sh-utils@gnu.org に報告してください。
+ページの更新は Ragnar Hojland Espinosa
+<ragnar@ragnar-hojland.com> が行っています。