The field width
An optional decimal digit string (with nonzero first digit) specifying a minimum field width. If the converted
value has fewer characters than the field width, it will be padded with spaces on the left (or right, if the
left-adjustment flag has been given). Instead of a decimal digit string one may write `*' or `*m$' (for some
decimal integer m) to specify that the field width is given in the next argument, or in the m-th argument,
respectively, which must be of type int. A negative field width is taken as a `-' flag followed by a positive
field width. In no case does a non-existent or small field width cause truncation of a field; if the result of
a conversion is wider than the field width, the field is expanded to contain the conversion result.
The precision
An optional precision, in the form of a period (`.') followed by an optional decimal digit string. Instead of
a decimal digit string one may write `*' or `*m$' (for some decimal integer m) to specify that the precision is
given in the next argument, or in the m-th argument, respectively, which must be of type int. If the precision
is given as just `.', or the precision is negative, the precision is taken to be zero. This gives the minimum
number of digits to appear for d, i, o, u, x, and X conversions, the number of digits to appear after the radix
character for a, A, e, E, f, and F conversions, the maximum number of significant digits for g and G conver-
sions, or the maximum number of characters to be printed from a string for s and S conversions.
e,E The double argument is rounded and converted in the style [-]d.ddde+-dd where there is one digit before
the decimal-point character and the number of digits after it is equal to the precision; if the precision
is missing, it is taken as 6; if the precision is zero, no decimal-point character appears. An E conver-
sion uses the letter E (rather than e) to introduce the exponent. The exponent always contains at least
two digits; if the value is zero, the exponent is 00.
man 3 printf[code:1] The field width
man 3 printf
음. %10이면 그 길이에 상관 없이 field width를 정해준 것 같고
e는 위와 같습니다~
덧. 그냥 쉘에서 복사해서 붙였더니 길이가 애매하네요 -o-
http://man.kldp.org/wiki/FrontPage?action=GetManPage&lang=ko&man=printf&sec=3
여기 보면, 번역은 되어있지 않은데 보기 더 편하실 것 같습니다.
번역된 것 없나요? -o-; 한글 man을 안깔아서 모르겠네요;
댓글 달기