|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: p
Length: 6516 (0x1974)
Names: »printf.1«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat1/printf.1«
0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f ┆ _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆ 0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 55 73 65 72 20 43 6f 6d 6d 61 6e ┆ u_ a_ l User Comman┆ 0x0040…0060 64 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 28 31 29 0a 0a 0a 0a ┆ds printf(1) ┆ 0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20 ┆N N N NA A A AM M M ME E E E ┆ 0x0080…00a0 20 20 70 72 69 6e 74 66 20 2d 20 70 72 69 6e 74 20 66 6f 72 6d 61 74 74 65 64 20 6f 75 74 70 75 ┆ printf - print formatted outpu┆ 0x00a0…00c0 74 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 50 ┆t S S S SY Y Y YN N N NO O O OP┆ 0x00c0…00e0 08 50 08 50 08 50 53 08 53 08 53 08 53 49 08 49 08 49 08 49 53 08 53 08 53 08 53 0a 20 20 20 20 ┆ P P PS S S SI I I IS S S S ┆ 0x00e0…0100 20 70 08 70 08 70 08 70 72 08 72 08 72 08 72 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 ┆ p p p pr r r ri i i in n n nt t┆ 0x0100…0120 08 74 08 74 66 08 66 08 66 08 66 20 5f 08 66 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 74 20 5b ┆ t tf f f f _ f_ o_ r_ m_ a_ t [┆ 0x0120…0140 5f 08 61 5f 08 72 5f 08 67 20 2e 2e 2e 5d 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 ┆_ a_ r_ g ...] D D D DE E E ES ┆ 0x0140…0160 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 ┆S S SC C C CR R R RI I I IP P P ┆ 0x0160…0180 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 ┆PT T T TI I I IO O O ON N N N ┆ 0x0180…01a0 20 20 20 54 68 65 20 5f 08 70 5f 08 72 5f 08 69 5f 08 6e 5f 08 74 5f 08 66 20 63 6f 6d 6d 61 6e ┆ The _ p_ r_ i_ n_ t_ f comman┆ 0x01a0…01c0 64 20 63 6f 6e 76 65 72 74 73 2c 20 66 6f 72 6d 61 74 73 2c 20 61 6e 64 20 70 72 69 6e 74 73 20 ┆d converts, formats, and prints ┆ 0x01c0…01e0 69 74 73 20 5f 08 61 5f 08 72 5f 08 67 73 0a 20 20 20 20 20 75 6e 64 65 72 20 63 6f 6e 74 72 6f ┆its _ a_ r_ gs under contro┆ 0x01e0…0200 6c 20 6f 66 20 74 68 65 20 5f 08 66 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 74 2e 20 20 49 74 ┆l of the _ f_ o_ r_ m_ a_ t. It┆ 0x0200…0220 20 66 75 6c 6c 79 20 73 75 70 70 6f 72 74 73 20 63 6f 6e 76 65 72 73 69 6f 6e 0a 20 20 20 20 20 ┆ fully supports conversion ┆ 0x0220…0240 73 70 65 63 69 66 69 63 61 74 69 6f 6e 73 20 66 6f 72 20 73 74 72 69 6e 67 73 20 28 25 08 25 08 ┆specifications for strings (% % ┆ 0x0240…0260 25 08 25 73 08 73 08 73 08 73 20 64 65 73 63 72 69 70 74 6f 72 29 3b 20 68 6f 77 65 76 65 72 2c ┆% %s s s s descriptor); however,┆ 0x0260…0280 20 74 68 65 0a 20 20 20 20 20 72 65 73 75 6c 74 73 20 61 72 65 20 75 6e 64 65 66 69 6e 65 64 20 ┆ the results are undefined ┆ 0x0280…02a0 66 6f 72 20 74 68 65 20 6f 74 68 65 72 20 63 6f 6e 76 65 72 73 69 6f 6e 20 73 70 65 63 69 66 69 ┆for the other conversion specifi┆ 0x02a0…02c0 63 61 2d 0a 20 20 20 20 20 74 69 6f 6e 73 20 73 75 70 70 6f 72 74 65 64 20 62 79 20 5f 08 70 5f ┆ca- tions supported by _ p_┆ 0x02c0…02e0 08 72 5f 08 69 5f 08 6e 5f 08 74 5f 08 66 28 33 53 29 2e 0a 0a 20 20 20 20 20 5f 08 66 5f 08 6f ┆ r_ i_ n_ t_ f(3S). _ f_ o┆ 0x02e0…0300 5f 08 72 5f 08 6d 5f 08 61 5f 08 74 20 20 20 20 61 20 63 68 61 72 61 63 74 65 72 20 73 74 72 69 ┆_ r_ m_ a_ t a character stri┆ 0x0300…0320 6e 67 20 74 68 61 74 20 63 6f 6e 74 61 69 6e 73 20 74 68 72 65 65 20 74 79 70 65 73 20 6f 66 0a ┆ng that contains three types of ┆ 0x0320…0340 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 62 6a 65 63 74 73 3a 20 31 29 20 70 6c 61 69 6e ┆ objects: 1) plain┆ 0x0340…0360 20 63 68 61 72 61 63 74 65 72 73 2c 20 77 68 69 63 68 20 61 72 65 20 73 69 6d 70 6c 79 0a 20 20 ┆ characters, which are simply ┆ 0x0360…0380 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6f 70 69 65 64 20 74 6f 20 74 68 65 20 6f 75 74 70 75 ┆ copied to the outpu┆ 0x0380…03a0 74 20 73 74 72 65 61 6d 3b 20 32 29 20 63 6f 6e 76 65 72 73 69 6f 6e 20 73 70 65 63 69 66 2d 0a ┆t stream; 2) conversion specif- ┆ 0x03a0…03c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 63 61 74 69 6f 6e 73 2c 20 65 61 63 68 20 6f 66 ┆ ications, each of┆ 0x03c0…03e0 20 77 68 69 63 68 20 72 65 73 75 6c 74 73 20 69 6e 20 66 65 74 63 68 69 6e 67 20 7a 65 72 6f 0a ┆ which results in fetching zero ┆ 0x03e0…0400 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 20 6d 6f 72 65 20 5f 08 61 5f 08 72 5f 08 67 ┆ or more _ a_ r_ g┆ 0x0400…0420 73 3b 20 61 6e 64 20 33 29 20 43 2d 6c 61 6e 67 75 61 67 65 20 65 73 63 61 70 65 20 73 65 71 75 ┆s; and 3) C-language escape sequ┆ 0x0420…0440 65 6e 63 65 73 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 68 69 63 68 20 61 72 65 20 ┆ences, which are ┆ 0x0440…0460 74 72 61 6e 73 6c 61 74 65 64 20 69 6e 74 6f 20 74 68 65 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e ┆translated into the correspondin┆ 0x0460…0480 67 20 63 68 61 72 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 74 65 72 73 2e 0a 0a ┆g char- acters. ┆ 0x0480…04a0 20 20 20 20 20 5f 08 61 5f 08 72 5f 08 67 20 20 20 20 20 20 20 73 74 72 69 6e 67 28 73 29 20 74 ┆ _ a_ r_ g string(s) t┆ 0x04a0…04c0 6f 20 62 65 20 70 72 69 6e 74 65 64 20 75 6e 64 65 72 20 74 68 65 20 63 6f 6e 74 72 6f 6c 20 6f ┆o be printed under the control o┆ 0x04c0…04e0 66 20 5f 08 66 5f 08 6f 5f 08 72 5f 08 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 5f 08 ┆f _ f_ o_ r_ - _ ┆ 0x04e0…0500 6d 5f 08 61 5f 08 74 2e 20 20 54 68 65 20 72 65 73 75 6c 74 73 20 61 72 65 20 75 6e 64 65 66 69 ┆m_ a_ t. The results are undefi┆ 0x0500…0520 6e 65 64 20 69 66 20 74 68 65 72 65 20 61 72 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆ned if there are ┆ 0x0520…0540 69 6e 73 75 66 66 69 63 69 65 6e 74 20 5f 08 61 5f 08 72 5f 08 67 73 20 66 6f 72 20 74 68 65 20 ┆insufficient _ a_ r_ gs for the ┆ 0x0540…0560 66 6f 72 6d 61 74 2e 20 20 49 66 20 74 68 65 20 66 6f 72 6d 61 74 0a 20 20 20 20 20 20 20 20 20 ┆format. If the format ┆ 0x0560…0580 20 20 20 20 20 20 69 73 20 65 78 68 61 75 73 74 65 64 20 77 68 69 6c 65 20 5f 08 61 5f 08 72 5f ┆ is exhausted while _ a_ r_┆ 0x0580…05a0 08 67 73 20 72 65 6d 61 69 6e 2c 20 74 68 65 20 65 78 63 65 73 73 20 5f 08 61 5f 08 72 5f 08 67 ┆ gs remain, the excess _ a_ r_ g┆ 0x05a0…05c0 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 72 65 20 73 69 6d 70 6c 79 20 69 67 6e 6f ┆s are simply igno┆ 0x05c0…05e0 72 65 64 2e 0a 0a 20 20 20 20 20 45 61 63 68 20 63 6f 6e 76 65 72 73 69 6f 6e 20 73 70 65 63 69 ┆red. Each conversion speci┆ 0x05e0…0600 66 69 63 61 74 69 6f 6e 20 69 73 20 69 6e 74 72 6f 64 75 63 65 64 20 62 79 20 74 68 65 20 63 68 ┆fication is introduced by the ch┆ 0x0600…0620 61 72 61 63 74 65 72 0a 20 20 20 20 20 25 08 25 08 25 08 25 2e 20 20 41 66 74 65 72 20 74 68 65 ┆aracter % % % %. After the┆ 0x0620…0640 20 25 08 25 08 25 08 25 2c 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 61 70 70 65 61 72 20 69 ┆ % % % %, the following appear i┆ 0x0640…0660 6e 20 73 65 71 75 65 6e 63 65 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 41 6e 20 6f 70 74 69 6f 6e ┆n sequence: An option┆ 0x0660…0680 61 6c 20 66 69 65 6c 64 2c 20 63 6f 6e 73 69 73 74 69 6e 67 20 6f 66 20 61 20 64 65 63 69 6d 61 ┆al field, consisting of a decima┆ 0x0680…06a0 6c 20 64 69 67 69 74 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 66 6f 6c 6c 6f 77 65 ┆l digit string followe┆ 0x06a0…06c0 64 20 62 79 20 61 20 24 08 24 08 24 08 24 2c 20 73 70 65 63 69 66 79 69 6e 67 20 74 68 65 20 6e ┆d by a $ $ $ $, specifying the n┆ 0x06c0…06e0 65 78 74 20 5f 08 61 5f 08 72 5f 08 67 20 74 6f 20 62 65 20 63 6f 6e 2d 0a 20 20 20 20 20 20 20 ┆ext _ a_ r_ g to be con- ┆ 0x06e0…0700 20 20 20 76 65 72 74 65 64 2e 20 20 49 66 20 74 68 69 73 20 66 69 65 6c 64 20 69 73 20 6e 6f 74 ┆ verted. If this field is not┆ 0x0700…0720 20 70 72 6f 76 69 64 65 64 2c 20 74 68 65 20 5f 08 61 5f 08 72 5f 08 67 20 66 6f 6c 6c 6f 77 2d ┆ provided, the _ a_ r_ g follow-┆ 0x0720…0740 0a 20 20 20 20 20 20 20 20 20 20 69 6e 67 20 74 68 65 20 6c 61 73 74 20 5f 08 61 5f 08 72 5f 08 ┆ ing the last _ a_ r_ ┆ 0x0740…0760 67 20 63 6f 6e 76 65 72 74 65 64 20 69 73 20 75 73 65 64 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 ┆g converted is used. ┆ 0x0760…0780 41 6e 20 6f 70 74 69 6f 6e 61 6c 20 64 65 63 69 6d 61 6c 20 64 69 67 69 74 20 73 74 72 69 6e 67 ┆An optional decimal digit string┆ 0x0780…07a0 20 73 70 65 63 69 66 79 69 6e 67 20 61 20 6d 69 6e 69 6d 75 6d 0a 20 20 20 20 20 20 20 20 20 20 ┆ specifying a minimum ┆ 0x07a0…07c0 5f 08 66 5f 08 69 5f 08 65 5f 08 6c 5f 08 64 20 5f 08 77 5f 08 69 5f 08 64 5f 08 74 5f 08 68 2e ┆_ f_ i_ e_ l_ d _ w_ i_ d_ t_ h.┆ 0x07c0…07e0 20 20 49 66 20 74 68 65 20 63 6f 6e 76 65 72 74 65 64 20 76 61 6c 75 65 20 68 61 73 20 66 65 77 ┆ If the converted value has few┆ 0x07e0…0800 65 72 20 63 68 61 72 61 63 2d 0a 20 20 20 20 20 20 20 20 20 20 74 65 72 73 20 74 68 61 6e 20 74 ┆er charac- ters than t┆ 0x0800…0820 68 65 20 66 69 65 6c 64 20 77 69 64 74 68 2c 20 69 74 20 69 73 20 70 61 64 64 65 64 20 6f 6e 20 ┆he field width, it is padded on ┆ 0x0820…0840 74 68 65 20 6c 65 66 74 20 28 6f 72 0a 20 20 20 20 20 20 20 20 20 20 72 69 67 68 74 2c 20 69 66 ┆the left (or right, if┆ 0x0840…0860 20 74 68 65 20 6c 65 66 74 2d 61 64 6a 75 73 74 6d 65 6e 74 20 66 6c 61 67 20 60 2d 08 2d 08 2d ┆ the left-adjustment flag `- - -┆ 0x0860…0880 08 2d 27 20 68 61 73 20 62 65 65 6e 20 67 69 76 65 6e 29 0a 20 20 20 20 20 20 20 20 20 20 74 6f ┆ -' has been given) to┆ 0x0880…08a0 20 74 68 65 20 66 69 65 6c 64 20 77 69 64 74 68 2e 20 20 54 68 65 20 70 61 64 64 69 6e 67 20 69 ┆ the field width. The padding i┆ 0x08a0…08c0 73 20 77 69 74 68 20 62 6c 61 6e 6b 73 20 75 6e 6c 65 73 73 0a 20 20 20 20 20 20 20 20 20 20 74 ┆s with blanks unless t┆ 0x08c0…08e0 68 65 20 66 69 65 6c 64 20 77 69 64 74 68 20 64 69 67 69 74 20 73 74 72 69 6e 67 20 73 74 61 72 ┆he field width digit string star┆ 0x08e0…0900 74 73 20 77 69 74 68 20 61 20 7a 65 72 6f 2c 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 77 68 69 ┆ts with a zero, in whi┆ 0x0900…0920 63 68 20 63 61 73 65 20 74 68 65 20 70 61 64 64 69 6e 67 20 69 73 20 77 69 74 68 20 7a 65 72 6f ┆ch case the padding is with zero┆ 0x0920…0940 73 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 41 6e 20 6f 70 74 69 6f 6e 61 6c 20 5f 08 70 5f 08 72 ┆s. An optional _ p_ r┆ 0x0940…0960 5f 08 65 5f 08 63 5f 08 69 5f 08 73 5f 08 69 5f 08 6f 5f 08 6e 20 74 68 61 74 20 67 69 76 65 73 ┆_ e_ c_ i_ s_ i_ o_ n that gives┆ 0x0960…0980 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 6e 75 6d 62 65 72 20 6f 66 0a 20 20 20 20 20 20 20 20 20 ┆ the maximum number of ┆ 0x0980…09a0 20 63 68 61 72 61 63 74 65 72 73 20 74 6f 20 62 65 20 70 72 69 6e 74 65 64 20 66 72 6f 6d 20 61 ┆ characters to be printed from a┆ 0x09a0…09c0 20 73 74 72 69 6e 67 20 69 6e 20 25 08 25 08 25 08 25 73 08 73 08 73 08 73 20 63 6f 6e 76 65 72 ┆ string in % % % %s s s s conver┆ 0x09c0…09e0 2d 0a 20 20 20 20 20 20 20 20 20 20 73 69 6f 6e 2e 20 20 54 68 65 20 70 72 65 63 69 73 69 6f 6e ┆- sion. The precision┆ 0x09e0…0a00 20 74 61 6b 65 73 20 74 68 65 20 66 6f 72 6d 20 6f 66 20 61 20 70 65 72 69 6f 64 20 28 2e 08 2e ┆ takes the form of a period (. .┆ 0x0a00…0a20 08 2e 08 2e 29 0a 20 20 20 20 20 20 20 20 20 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 61 20 64 65 ┆ . .) followed by a de┆ 0x0a20…0a40 63 69 6d 61 6c 20 64 69 67 69 74 20 73 74 72 69 6e 67 3b 20 61 20 6e 75 6c 6c 20 64 69 67 69 74 ┆cimal digit string; a null digit┆ 0x0a40…0a60 20 73 74 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 69 73 20 74 72 65 61 74 65 64 20 61 73 20 ┆ string is treated as ┆ 0x0a60…0a80 7a 65 72 6f 20 28 6e 6f 74 68 69 6e 67 20 69 73 20 70 72 69 6e 74 65 64 29 2e 20 20 50 61 64 64 ┆zero (nothing is printed). Padd┆ 0x0a80…0aa0 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 73 70 65 63 69 66 69 65 64 20 62 79 20 74 68 65 20 70 ┆ing specified by the p┆ 0x0aa0…0ac0 72 65 63 69 73 69 6f 6e 20 6f 76 65 72 72 69 64 65 73 20 74 68 65 20 70 61 64 64 69 6e 67 20 73 ┆recision overrides the padding s┆ 0x0ac0…0ae0 70 65 63 69 2d 0a 20 20 20 20 20 20 20 20 20 20 66 69 65 64 20 62 79 20 74 68 65 20 66 69 65 6c ┆peci- fied by the fiel┆ 0x0ae0…0b00 64 20 77 69 64 74 68 2e 20 20 54 68 61 74 20 69 73 2c 20 69 66 20 5f 08 70 5f 08 72 5f 08 65 5f ┆d width. That is, if _ p_ r_ e_┆ 0x0b00…0b20 08 63 5f 08 69 5f 08 73 5f 08 69 5f 08 6f 5f 08 6e 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 73 ┆ c_ i_ s_ i_ o_ n is s┆ 0x0b20…0b40 70 65 63 69 66 69 65 64 2c 20 69 74 73 20 76 61 6c 75 65 20 69 73 20 75 73 65 64 20 74 6f 20 63 ┆pecified, its value is used to c┆ 0x0b40…0b60 6f 6e 74 72 6f 6c 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 63 ┆ontrol the number of c┆ 0x0b60…0b80 68 61 72 61 63 74 65 72 73 20 70 72 69 6e 74 65 64 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 41 20 ┆haracters printed. A ┆ 0x0b80…0ba0 66 69 65 6c 64 20 77 69 64 74 68 20 6f 72 20 70 72 65 63 69 73 69 6f 6e 20 6f 72 20 62 6f 74 68 ┆field width or precision or both┆ 0x0ba0…0bc0 20 6d 61 79 20 62 65 20 69 6e 64 69 63 61 74 65 64 20 62 79 0a 20 20 20 20 20 20 20 20 20 20 61 ┆ may be indicated by a┆ 0x0bc0…0be0 6e 20 61 73 74 65 72 69 73 6b 20 28 2a 08 2a 08 2a 08 2a 29 20 69 6e 73 74 65 61 64 20 6f 66 20 ┆n asterisk (* * * *) instead of ┆ 0x0be0…0c00 61 20 64 69 67 69 74 20 73 74 72 69 6e 67 2e 20 20 49 6e 20 74 68 69 73 0a 20 20 20 20 20 20 20 ┆a digit string. In this ┆ 0x0c00…0c20 20 20 20 63 61 73 65 2c 20 61 6e 20 69 6e 74 65 67 65 72 20 5f 08 61 5f 08 72 5f 08 67 20 73 75 ┆ case, an integer _ a_ r_ g su┆ 0x0c20…0c40 70 70 6c 69 65 73 20 74 68 65 20 66 69 65 6c 64 20 77 69 64 74 68 20 6f 72 20 70 72 65 63 69 2d ┆pplies the field width or preci-┆ 0x0c40…0c60 0a 20 20 20 20 20 20 20 20 20 20 73 69 6f 6e 2e 20 20 54 68 65 20 5f 08 61 5f 08 72 5f 08 67 20 ┆ sion. The _ a_ r_ g ┆ 0x0c60…0c80 74 68 61 74 20 69 73 20 61 63 74 75 61 6c 6c 79 20 63 6f 6e 76 65 72 74 65 64 20 69 73 20 6e 6f ┆that is actually converted is no┆ 0x0c80…0ca0 74 0a 20 20 20 20 20 20 20 20 20 20 66 65 74 63 68 65 64 20 75 6e 74 69 6c 20 74 68 65 20 63 6f ┆t fetched until the co┆ 0x0ca0…0cc0 6e 76 65 72 73 69 6f 6e 20 6c 65 74 74 65 72 20 69 73 20 73 65 65 6e 2c 20 73 6f 20 74 68 65 0a ┆nversion letter is seen, so the ┆ 0x0cc0…0ce0 20 20 20 20 20 20 20 20 20 20 5f 08 61 5f 08 72 5f 08 67 73 20 73 70 65 63 69 66 79 69 6e 67 20 ┆ _ a_ r_ gs specifying ┆ 0x0ce0…0d00 66 69 65 6c 64 20 77 69 64 74 68 20 6f 72 20 70 72 65 63 69 73 69 6f 6e 20 6d 75 73 74 20 61 70 ┆field width or precision must ap┆ 0x0d00…0d20 70 65 61 72 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 20 20 20 20 20 5f 08 62 5f 08 65 5f 08 66 5f 08 ┆pear _ b_ e_ f_ ┆ 0x0d20…0d40 6f 5f 08 72 5f 08 65 20 74 68 65 20 5f 08 61 5f 08 72 5f 08 67 20 28 69 66 20 61 6e 79 29 20 74 ┆o_ r_ e the _ a_ r_ g (if any) t┆ 0x0d40…0d60 6f 20 62 65 20 63 6f 6e 76 65 72 74 65 64 2e 20 20 41 20 6e 65 67 61 74 69 76 65 0a 20 20 20 20 ┆o be converted. A negative ┆ 0x0d60…0d80 20 20 20 20 20 20 66 69 65 6c 64 20 77 69 64 74 68 20 61 72 67 75 6d 65 6e 74 20 69 73 20 74 61 ┆ field width argument is ta┆ 0x0d80…0da0 6b 65 6e 20 61 73 20 61 20 60 08 60 08 60 08 60 2d 08 2d 08 2d 08 2d 27 08 27 08 27 08 27 20 28 ┆ken as a ` ` ` `- - - -' ' ' ' (┆ 0x0da0…0dc0 6c 65 66 74 2d 0a 20 20 20 20 20 20 20 20 20 20 61 64 6a 75 73 74 6d 65 6e 74 29 20 66 6c 61 67 ┆left- adjustment) flag┆ 0x0dc0…0de0 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 61 20 70 6f 73 69 74 69 76 65 20 66 69 65 6c 64 20 77 69 ┆ followed by a positive field wi┆ 0x0de0…0e00 64 74 68 2e 20 49 66 0a 20 20 20 20 20 20 20 20 20 20 74 68 65 20 70 72 65 63 69 73 69 6f 6e 20 ┆dth. If the precision ┆ 0x0e00…0e20 61 72 67 75 6d 65 6e 74 20 69 73 20 6e 65 67 61 74 69 76 65 2c 20 69 74 20 69 73 20 63 68 61 6e ┆argument is negative, it is chan┆ 0x0e20…0e40 67 65 64 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 7a 65 72 6f 20 28 6e 6f 74 68 69 6e 67 20 69 ┆ged to zero (nothing i┆ 0x0e40…0e60 73 20 70 72 69 6e 74 65 64 29 2e 20 20 49 6e 20 6e 6f 20 63 61 73 65 20 64 6f 65 73 20 61 20 6e ┆s printed). In no case does a n┆ 0x0e60…0e80 6f 6e 2d 0a 20 20 20 20 20 20 20 20 20 20 65 78 69 73 74 65 6e 74 20 6f 72 20 73 6d 61 6c 6c 20 ┆on- existent or small ┆ 0x0e80…0ea0 66 69 65 6c 64 20 77 69 64 74 68 20 63 61 75 73 65 20 74 72 75 6e 63 61 74 69 6f 6e 20 6f 66 20 ┆field width cause truncation of ┆ 0x0ea0…0ec0 61 0a 20 20 20 20 20 20 20 20 20 20 66 69 65 6c 64 3b 20 69 66 20 74 68 65 20 72 65 73 75 6c 74 ┆a field; if the result┆ 0x0ec0…0ee0 20 6f 66 20 61 20 63 6f 6e 76 65 72 73 69 6f 6e 20 69 73 20 77 69 64 65 72 20 74 68 61 6e 20 74 ┆ of a conversion is wider than t┆ 0x0ee0…0f00 68 65 0a 20 20 20 20 20 20 20 20 20 20 66 69 65 6c 64 20 77 69 64 74 68 2c 20 74 68 65 20 66 69 ┆he field width, the fi┆ 0x0f00…0f20 65 6c 64 20 69 73 20 73 69 6d 70 6c 79 20 65 78 70 61 6e 64 65 64 20 74 6f 20 63 6f 6e 74 61 69 ┆eld is simply expanded to contai┆ 0x0f20…0f40 6e 0a 20 20 20 20 20 20 20 20 20 20 74 68 65 20 63 6f 6e 76 65 72 73 69 6f 6e 20 72 65 73 75 6c ┆n the conversion resul┆ 0x0f40…0f60 74 2e 0a 0a 20 20 20 20 20 54 68 65 20 63 6f 6e 76 65 72 73 69 6f 6e 20 63 68 61 72 61 63 74 65 ┆t. The conversion characte┆ 0x0f60…0f80 72 73 20 61 6e 64 20 74 68 65 69 72 20 6d 65 61 6e 69 6e 67 73 20 61 72 65 3a 0a 0a 20 20 20 20 ┆rs and their meanings are: ┆ 0x0f80…0fa0 20 25 08 25 08 25 08 25 73 08 73 08 73 08 73 20 20 20 54 68 65 20 5f 08 61 5f 08 72 5f 08 67 20 ┆ % % % %s s s s The _ a_ r_ g ┆ 0x0fa0…0fc0 69 73 20 74 61 6b 65 6e 20 74 6f 20 62 65 20 61 20 73 74 72 69 6e 67 20 61 6e 64 20 63 68 61 72 ┆is taken to be a string and char┆ 0x0fc0…0fe0 61 63 74 65 72 73 20 66 72 6f 6d 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 73 74 72 69 6e 67 ┆acters from the string┆ 0x0fe0…1000 20 61 72 65 20 70 72 69 6e 74 65 64 20 75 6e 74 69 6c 20 61 20 6e 75 6c 6c 20 63 68 61 72 61 63 ┆ are printed until a null charac┆ 0x1000…1020 74 65 72 20 28 5c 08 5c 08 5c 08 5c 30 08 30 08 30 08 30 29 20 69 73 0a 20 20 20 20 20 20 20 20 ┆ter (\ \ \ \0 0 0 0) is ┆ 0x1020…1040 20 20 65 6e 63 6f 75 6e 74 65 72 65 64 20 6f 72 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 63 ┆ encountered or the number of c┆ 0x1040…1060 68 61 72 61 63 74 65 72 73 20 69 6e 64 69 63 61 74 65 64 20 62 79 0a 20 20 20 20 20 20 20 20 20 ┆haracters indicated by ┆ 0x1060…1080 20 74 68 65 20 70 72 65 63 69 73 69 6f 6e 20 73 70 65 63 69 66 69 63 61 74 69 6f 6e 20 69 73 20 ┆ the precision specification is ┆ 0x1080…10a0 72 65 61 63 68 65 64 2e 20 20 49 66 20 74 68 65 20 70 72 65 63 69 2d 0a 20 20 20 20 20 20 20 20 ┆reached. If the preci- ┆ 0x10a0…10c0 20 20 73 69 6f 6e 20 69 73 20 6d 69 73 73 69 6e 67 2c 20 69 74 20 69 73 20 74 61 6b 65 6e 20 74 ┆ sion is missing, it is taken t┆ 0x10c0…10e0 6f 20 62 65 20 69 6e 66 69 6e 69 74 65 2c 20 73 6f 20 61 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 ┆o be infinite, so all ┆ 0x10e0…1100 63 68 61 72 61 63 74 65 72 73 20 75 70 20 74 6f 20 74 68 65 20 66 69 72 73 74 20 6e 75 6c 6c 20 ┆characters up to the first null ┆ 0x1100…1120 63 68 61 72 61 63 74 65 72 20 61 72 65 20 70 72 69 6e 74 65 64 2e 0a 20 20 20 20 20 20 20 20 20 ┆character are printed. ┆ 0x1120…1140 20 41 20 6e 75 6c 6c 20 76 61 6c 75 65 20 66 6f 72 20 5f 08 61 5f 08 72 5f 08 67 20 79 69 65 6c ┆ A null value for _ a_ r_ g yiel┆ 0x1140…1160 64 73 20 75 6e 64 65 66 69 6e 65 64 20 72 65 73 75 6c 74 73 2e 0a 0a 20 20 20 20 20 25 08 25 08 ┆ds undefined results. % % ┆ 0x1160…1180 25 08 25 25 08 25 08 25 08 25 20 20 20 50 72 69 6e 74 20 61 20 25 08 25 08 25 08 25 3b 20 6e 6f ┆% %% % % % Print a % % % %; no┆ 0x1180…11a0 20 61 72 67 75 6d 65 6e 74 20 69 73 20 63 6f 6e 76 65 72 74 65 64 2e 0a 0a 45 08 45 08 45 08 45 ┆ argument is converted. E E E E┆ 0x11a0…11c0 58 08 58 08 58 08 58 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 50 08 50 08 50 08 50 4c 08 4c 08 ┆X X X XA A A AM M M MP P P PL L ┆ 0x11c0…11e0 4c 08 4c 45 08 45 08 45 08 45 53 08 53 08 53 08 53 0a 20 20 20 20 20 54 68 65 20 63 6f 6d 6d 61 ┆L LE E E ES S S S The comma┆ 0x11e0…1200 6e 64 0a 0a 20 20 20 20 20 20 20 20 20 20 70 08 70 08 70 08 70 72 08 72 08 72 08 72 69 08 69 08 ┆nd p p p pr r r ri i ┆ 0x1200…1220 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 66 08 66 08 66 08 66 20 27 08 27 08 27 08 27 ┆i in n n nt t t tf f f f ' ' ' '┆ 0x1220…1240 25 08 25 08 25 08 25 73 08 73 08 73 08 73 20 25 08 25 08 25 08 25 73 08 73 08 73 08 73 20 25 08 ┆% % % %s s s s % % % %s s s s % ┆ 0x1240…1260 25 08 25 08 25 73 08 73 08 73 08 73 5c 08 5c 08 5c 08 5c 6e 08 6e 08 6e 08 6e 27 08 27 08 27 08 ┆% % %s s s s\ \ \ \n n n n' ' ' ┆ 0x1260…1280 27 20 47 08 47 08 47 08 47 6f 08 6f 08 6f 08 6f 6f 08 6f 08 6f 08 6f 64 08 64 08 64 08 64 20 4d ┆' G G G Go o o oo o o od d d d M┆ 0x1280…12a0 08 4d 08 4d 08 4d 6f 08 6f 08 6f 08 6f 72 08 72 08 72 08 72 6e 08 6e 08 6e 08 6e 69 08 69 08 69 ┆ M M Mo o o or r r rn n n ni i i┆ 0x12a0…12c0 08 69 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 20 57 08 57 08 57 08 57 6f 08 6f 08 6f 08 6f 72 ┆ in n n ng g g g W W W Wo o o or┆ 0x12c0…12e0 08 72 08 72 08 72 6c 08 6c 08 6c 08 6c 64 08 64 08 64 08 64 0a 0a 20 20 20 20 20 72 65 73 75 6c ┆ r r rl l l ld d d d resul┆ 0x12e0…1300 74 73 20 69 6e 20 74 68 65 20 6f 75 74 70 75 74 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 47 08 47 ┆ts in the output: G G┆ 0x1300…1320 08 47 08 47 6f 08 6f 08 6f 08 6f 6f 08 6f 08 6f 08 6f 64 08 64 08 64 08 64 20 4d 08 4d 08 4d 08 ┆ G Go o o oo o o od d d d M M M ┆ 0x1320…1340 4d 6f 08 6f 08 6f 08 6f 72 08 72 08 72 08 72 6e 08 6e 08 6e 08 6e 69 08 69 08 69 08 69 6e 08 6e ┆Mo o o or r r rn n n ni i i in n┆ 0x1340…1360 08 6e 08 6e 67 08 67 08 67 08 67 20 57 08 57 08 57 08 57 6f 08 6f 08 6f 08 6f 72 08 72 08 72 08 ┆ n ng g g g W W W Wo o o or r r ┆ 0x1360…1380 72 6c 08 6c 08 6c 08 6c 64 08 64 08 64 08 64 0a 0a 20 20 20 20 20 54 68 65 20 66 6f 6c 6c 6f 77 ┆rl l l ld d d d The follow┆ 0x1380…13a0 69 6e 67 20 63 6f 6d 6d 61 6e 64 20 70 72 6f 64 75 63 65 73 20 74 68 65 20 73 61 6d 65 20 6f 75 ┆ing command produces the same ou┆ 0x13a0…13c0 74 70 75 74 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 70 08 70 08 70 08 70 72 08 72 08 72 08 72 69 ┆tput. p p p pr r r ri┆ 0x13c0…13e0 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 66 08 66 08 66 08 66 20 27 08 27 08 ┆ i i in n n nt t t tf f f f ' ' ┆ 0x13e0…1400 27 08 27 25 08 25 08 25 08 25 32 08 32 08 32 08 32 24 08 24 08 24 08 24 73 08 73 08 73 08 73 20 ┆' '% % % %2 2 2 2$ $ $ $s s s s ┆ 0x1400…1420 25 08 25 08 25 08 25 73 08 73 08 73 08 73 20 25 08 25 08 25 08 25 31 08 31 08 31 08 31 24 08 24 ┆% % % %s s s s % % % %1 1 1 1$ $┆ 0x1420…1440 08 24 08 24 73 08 73 08 73 08 73 5c 08 5c 08 5c 08 5c 6e 08 6e 08 6e 08 6e 27 08 27 08 27 08 27 ┆ $ $s s s s\ \ \ \n n n n' ' ' '┆ 0x1440…1460 20 57 08 57 08 57 08 57 6f 08 6f 08 6f 08 6f 72 08 72 08 72 08 72 6c 08 6c 08 6c 08 6c 64 08 64 ┆ W W W Wo o o or r r rl l l ld d┆ 0x1460…1480 08 64 08 64 20 47 08 47 08 47 08 47 6f 08 6f 08 6f 08 6f 6f 08 6f 08 6f 08 6f 64 08 64 08 64 08 ┆ d d G G G Go o o oo o o od d d ┆ 0x1480…14a0 64 20 4d 08 4d 08 4d 08 4d 6f 08 6f 08 6f 08 6f 72 08 72 08 72 08 72 6e 08 6e 08 6e 08 6e 69 08 ┆d M M M Mo o o or r r rn n n ni ┆ 0x14a0…14c0 69 08 69 08 69 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 0a 0a 20 20 20 20 20 48 65 72 65 20 69 ┆i i in n n ng g g g Here i┆ 0x14c0…14e0 73 20 61 6e 20 65 78 61 6d 70 6c 65 20 74 68 61 74 20 70 72 69 6e 74 73 20 74 68 65 20 66 69 72 ┆s an example that prints the fir┆ 0x14e0…1500 73 74 20 36 20 63 68 61 72 61 63 74 65 72 73 20 6f 66 0a 20 20 20 20 20 24 50 41 54 48 20 6c 65 ┆st 6 characters of $PATH le┆ 0x1500…1520 66 74 2d 61 64 6a 75 73 74 65 64 20 69 6e 20 61 20 31 30 2d 63 68 61 72 61 63 74 65 72 20 66 69 ┆ft-adjusted in a 10-character fi┆ 0x1520…1540 65 6c 64 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 70 08 70 08 70 08 70 72 08 72 08 72 08 72 69 08 ┆eld: p p p pr r r ri ┆ 0x1540…1560 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 66 08 66 08 66 08 66 20 27 08 27 08 27 ┆i i in n n nt t t tf f f f ' ' '┆ 0x1560…1580 08 27 46 08 46 08 46 08 46 69 08 69 08 69 08 69 72 08 72 08 72 08 72 73 08 73 08 73 08 73 74 08 ┆ 'F F F Fi i i ir r r rs s s st ┆ 0x1580…15a0 74 08 74 08 74 20 36 08 36 08 36 08 36 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 ┆t t t 6 6 6 6 c c c ch h h ha a ┆ 0x15a0…15c0 61 08 61 72 08 72 08 72 08 72 73 08 73 08 73 08 73 20 6f 08 6f 08 6f 08 6f 66 08 66 08 66 08 66 ┆a ar r r rs s s s o o o of f f f┆ 0x15c0…15e0 20 25 08 25 08 25 08 25 73 08 73 08 73 08 73 20 61 08 61 08 61 08 61 72 08 72 08 72 08 72 65 08 ┆ % % % %s s s s a a a ar r r re ┆ 0x15e0…1600 65 08 65 08 65 20 25 08 25 08 25 08 25 2d 08 2d 08 2d 08 2d 31 08 31 08 31 08 31 30 08 30 08 30 ┆e e e % % % %- - - -1 1 1 10 0 0┆ 0x1600…1620 08 30 2e 08 2e 08 2e 08 2e 36 08 36 08 36 08 36 73 08 73 08 73 08 73 2e 08 2e 08 2e 08 2e 5c 08 ┆ 0. . . .6 6 6 6s s s s. . . .\ ┆ 0x1620…1640 5c 08 5c 08 5c 6e 08 6e 08 6e 08 6e 27 08 27 08 27 08 27 20 24 08 24 08 24 08 24 50 08 50 08 50 ┆\ \ \n n n n' ' ' ' $ $ $ $P P P┆ 0x1640…1660 08 50 41 08 41 08 41 08 41 54 08 54 08 54 08 54 48 08 48 08 48 08 48 20 24 08 24 08 24 08 24 50 ┆ PA A A AT T T TH H H H $ $ $ $P┆ 0x1660…1680 08 50 08 50 08 50 41 08 41 08 41 08 41 54 08 54 08 54 08 54 48 08 48 08 48 08 48 0a 0a 20 20 20 ┆ P P PA A A AT T T TH H H H ┆ 0x1680…16a0 20 20 49 66 20 24 50 41 54 48 20 68 61 73 20 74 68 65 20 76 61 6c 75 65 20 2f 08 2f 08 2f 08 2f ┆ If $PATH has the value / / / /┆ 0x16a0…16c0 75 08 75 08 75 08 75 73 08 73 08 73 08 73 72 08 72 08 72 08 72 2f 08 2f 08 2f 08 2f 62 08 62 08 ┆u u u us s s sr r r r/ / / /b b ┆ 0x16c0…16e0 62 08 62 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 3a 08 3a 08 3a 08 3a 2f 08 2f 08 2f 08 2f 75 ┆b bi i i in n n n: : : :/ / / /u┆ 0x16e0…1700 08 75 08 75 08 75 73 08 73 08 73 08 73 72 08 72 08 72 08 72 2f 08 2f 08 2f 08 2f 6c 08 6c 08 6c ┆ u u us s s sr r r r/ / / /l l l┆ 0x1700…1720 08 6c 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 61 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 2f 08 ┆ lo o o oc c c ca a a al l l l/ ┆ 0x1720…1740 2f 08 2f 08 2f 62 08 62 08 62 08 62 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 2c 20 74 68 65 6e ┆/ / /b b b bi i i in n n n, then┆ 0x1740…1760 20 74 68 65 0a 20 20 20 20 20 61 62 6f 76 65 20 63 6f 6d 6d 61 6e 64 20 77 6f 75 6c 64 20 70 72 ┆ the above command would pr┆ 0x1760…1780 69 6e 74 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 6f 75 74 70 75 74 3a 0a 0a 20 20 20 20 20 ┆int the following output: ┆ 0x1780…17a0 20 20 20 20 20 46 08 46 08 46 08 46 69 08 69 08 69 08 69 72 08 72 08 72 08 72 73 08 73 08 73 08 ┆ F F F Fi i i ir r r rs s s ┆ 0x17a0…17c0 73 74 08 74 08 74 08 74 20 36 08 36 08 36 08 36 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 ┆st t t t 6 6 6 6 c c c ch h h ha┆ 0x17c0…17e0 08 61 08 61 08 61 72 08 72 08 72 08 72 73 08 73 08 73 08 73 20 6f 08 6f 08 6f 08 6f 66 08 66 08 ┆ a a ar r r rs s s s o o o of f ┆ 0x17e0…1800 66 08 66 20 2f 08 2f 08 2f 08 2f 75 08 75 08 75 08 75 73 08 73 08 73 08 73 72 08 72 08 72 08 72 ┆f f / / / /u u u us s s sr r r r┆ 0x1800…1820 2f 08 2f 08 2f 08 2f 62 08 62 08 62 08 62 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 3a 08 3a 08 ┆/ / / /b b b bi i i in n n n: : ┆ 0x1820…1840 3a 08 3a 2f 08 2f 08 2f 08 2f 75 08 75 08 75 08 75 73 08 73 08 73 08 73 72 08 72 08 72 08 72 2f ┆: :/ / / /u u u us s s sr r r r/┆ 0x1840…1860 08 2f 08 2f 08 2f 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 61 08 61 08 61 ┆ / / /l l l lo o o oc c c ca a a┆ 0x1860…1880 08 61 6c 08 6c 08 6c 08 6c 2f 08 2f 08 2f 08 2f 62 08 62 08 62 08 62 69 08 69 08 69 08 69 6e 08 ┆ al l l l/ / / /b b b bi i i in ┆ 0x1880…18a0 6e 08 6e 08 6e 20 61 08 61 08 61 08 61 72 08 72 08 72 08 72 65 08 65 08 65 08 65 20 2f 08 2f 08 ┆n n n a a a ar r r re e e e / / ┆ 0x18a0…18c0 2f 08 2f 75 08 75 08 75 08 75 73 08 73 08 73 08 73 72 08 72 08 72 08 72 2f 08 2f 08 2f 08 2f 62 ┆/ /u u u us s s sr r r r/ / / /b┆ 0x18c0…18e0 08 62 08 62 08 62 20 2e 08 2e 08 2e 08 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 ┆ b b b . . . . S S S SE E E EE ┆ 0x18e0…1900 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f ┆E E E A A A AL L L LS S S SO O O┆ 0x1900…1920 08 4f 0a 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 69 6f 6e 73 20 28 33 29 3a 20 70 ┆ O Library Functions (3): p┆ […truncated at 200 lines…]