printf

PRINTF(1)                       ã¦ã¼ã¶ã¼ã³ãã³ã                       PRINTF(1)



åå
       printf - ãã¼ã¿ãæ´å½¢ãã¦è¡¨ç¤ºãã

æ¸å¼
       printf FORMAT [ARGUMENT]...
       printf OPTION

説æ
       ARGUMENT ã FORMAT ã«å¾ã£ã¦è¡¨ç¤ºããã OPTION ã«å¾ã£ã¦å®è¡ãã¾ã:

       --help ãã®ä½¿ãæ¹ã表示ãã¦çµäºãã

       --version
              ãã¼ã¸ã§ã³æå ±ã表示ãã¦çµäºãã

       FORMAT ã«ãã£ã¦ C è¨èªã® printf ã®ããã«åºåå½¢å¼ãå¶å¾¡ãã¾ãã解éããã æå‐
       åã¯æ¬¡ã®éãã§ã:

       \"     ããã«ã¯ã©ã¼ãã¼ã·ã§ã³

       \\     ããã¯ã¹ã©ãã·ã¥

       \a     è¦å (BEL)

       \b     ããã¯ã¹ãã¼ã¹

       \c     以éãåºåããªã

       \e     ã¨ã¹ã±ã¼ã

       \f     ãã©ã¼ã ãã£ã¼ã

       \n     æ¹è¡

       \r     ãã£ãªãã¸ãªã¿ã¼ã³

       \t     æ°´å¹³ã¿ã

       \v     åç´ã¿ã

       \NNN   å«é²æ°ã§è¡¨ç¾ãããã¤ã NNN (æ°å 1 ãã 3 æå)

       \xHH   ååé²æ°ã§è¡¨ç¾ãããã¤ã HH (è±æ°å 1, 2 æå)

       \uHHHH ååé²æ°ã§è¡¨ç¾ãã Unicode (ISO/IEC 10646) ã¹ã«ã©ã¼å¤  HHHH (4æå)

       \UHHHHHHHH
              ååé²æ°ã§è¡¨ç¾ãã Unicode ã¹ã«ã©ã¼å¤ HHHHHHHH (8 æå)

       %%     åä¸ã® % æå

       %b     ARGUMENT 㯠'\' ã¨ã¹ã±ã¼ãã解éãããæååã§ãã ãã ã 8 é²æ°ã¯ä¾å¤ã§ \0
              ã¾ã㯠\0NNN ã®æ¸å¼ã«ãªãã¾ãã

       ããã³ãdiouxXfeEgGcs ã®ããããã§çµãã C æ¸å¼æå®å¨ã¦ (ARGUMENT
       ã¯æåã«é©åãªåã«å¤æããã¾ã)ãå¯å¤å¹ã使ç¨ã§ãã¾ãã

       注æ: 使ç¨ãã¦ããã·ã§ã«ã«ãã£ã¦ã¯çµã¿è¾¼ã¿ã³ãã³ãã¨ã㦠printf ãæã£ã¦ããå ´å
       ããããé常ã¯ããã§è¨è¿°ãã¦ãããã¼ã¸ã§ã³ããåªåçã«ä½¿ç¨ããã¾ããã·ã§ã«ã®
       ææ¸ãåç§ãã¦ãªãã·ã§ã³ãªã©ã®è©³ç´°ã確èªãã¦ãã ããã

ä½è
       ä½è David MacKenzieã

ãã°ã®å ±å
       printf ã®ãã°ãçºè¦ããå ´å㯠bug-coreutils@gnu.org ã«å ±åãã¦ãã ããã GNU
       coreutils ã®ãã¼ã ãã¼ã¸: <http://www.gnu.org/software/coreutils/> GNU
       ã½ããã¦ã§ã¢ã使ç¨ããéã®ä¸è¬çãªãã«ã: <http://www.gnu.org/gethelp/> printf
       ã®ç¿»è¨³ã«é¢ãããã°ã¯ <http://translationproject.org/team/ja.html>
       ã«é£çµ¡ãã¦ãã ããã å®å¨ãªææ¸ãåç§ããå ´å㯠info coreutils 'printf
       invocation' ãå®è¡ãã¦ãã ããã

èä½æ¨©
       Copyright © 2012 Free Software Foundation, Inc.  ã©ã¤ã»ã³ã¹ GPLv3+: GNU
       GPL version 3 or later <http://gnu.org/licenses/gpl.html>.  This is
       free software: you are free to change and redistribute it.  There is NO
       WARRANTY, to the extent permitted by law.

é¢é£é ç®
       printf(3)

       printf ã®å®å¨ãªããã¥ã¢ã«ã¯ Texinfo ããã¥ã¢ã«ã¨ãã¦æ´åããã¦ãããããã info ããã³
       printf ã®ããã°ã©ã ãæ£ããã¤ã³ã¹ãã¼ã«ããã¦ãããªãã°ãã³ãã³ã

              info printf

       ã使ç¨ããã¨å®å¨ãªããã¥ã¢ã«ãèªããã¨ãã§ããã¯ãã ã



GNU coreutils                      2012å¹´4æ                         PRINTF(1)