table of contents
- bookworm 4.18.1-1
- bookworm-backports 4.26.2-1~bpo12+1
- testing 4.26.2-1
- unstable 4.26.2-1
PRINTF(1) | Käyttäjän sovellukset | PRINTF(1) |
NIMI¶
printf - format and print data
YLEISKATSAUS¶
printf MUOTOILU [ARGUMENTTI]...
printf VALITSIN
KUVAUS¶
Print ARGUMENT(s) according to FORMAT, or execute according to OPTION:
MUOTOILU säätelee tulostetta kuten C:n printf. Tulkittavat sarjat ovat:
- \"
- lainausmerkit
- \\
- kenoviiva
- \a
- hälytysmerkki (BEL)
- \b
- askelpalautin
- \c
- ei rivinvaihtoa loppuun
- \e
- escape
- \f
- sivunvaihto
- \n
- rivinvaihto
- \r
- vaununpalautus
- \t
- vaakasarkain
- \v
- pystysarkain
- \NNN
- byte with octal value NNN (1 to 3 digits)
- \xHH
- tavu, jonka heksadesimaaliarvo on HH (1-2 numeroa)
- \uHHHH
- Unicode-merkki (ISO/IEC 10646), jonka heksa-arvo on HHHH (4 numeroa)
- \UHHHHHHHH
- Unicode-merkki, jonka heksadesimaaliarvo on HHHHHHHH (8 numeroa)
- %%
- yksittäinen %-merkki
- %b
- ARGUMENT as a string with '\' escapes interpreted, except that octal escapes should have a leading 0 like \0NNN
- %q
- ARGUMENT is printed in a format that can be reused as shell input, escaping non-printable characters with the POSIX $” syntax
and all C format specifications ending with one of diouxXfeEgGcs, with ARGUMENTs converted to proper type first. Variable widths are handled.
Your shell may have its own version of printf, which usually supersedes the version described here. Please refer to your shell's documentation for details about the options it supports.
TEKIJĶ
Kirjoittanut David MacKenzie.
VIRHEISTÄ ILMOITTAMINEN¶
GNU coreutils online help:
<https://www.gnu.org/software/coreutils/>
Ilmoita käännösvirheistä osoitteeseen
<https://translationproject.org/team/fi.html>
KATSO MYÖS¶
Koko dokumentaatio:
<https://www.gnu.org/software/coreutils/printf>
tai saatavilla paikallisesti: info '(coreutils) printf invocation'
Packaged by Debian (9.7-2)
Copyright © 2025 Free Software Foundation, Inc.
Lisenssi GPLv3+: GNU GPL versio 3 tai myöhempi
<https://gnu.org/licenses/gpl.html>.
Tämä on vapaa ohjelmisto; sitä saa vapaasti muuttaa ja
levittää edelleen.
Siinä määrin kuin laki sallii, TAKUUTA EI OLE.
KÄÄNNÖS¶
Tämän käsikirjan suomenkielisen käännöksen tekivät Jaakko Puurunen <jaakko.puurunen@iki.fi>
Tämä käännös on ilmainen dokumentaatio; katso tekijänoikeusehdot GNU General Public License -versiosta 3 tai uudemmasta. Emme ota vastuuta.
Huhtikuuta 2025 | GNU coreutils 9.7 |