Tizen 2.0 Release
[external/tizen-coreutils.git] / man / printf.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
2 .TH PRINTF "1" "March 2007" "GNU coreutils 6.9" "User Commands"
3 .SH NAME
4 printf \- format and print data
5 .SH SYNOPSIS
6 .B printf
7 \fIFORMAT \fR[\fIARGUMENT\fR]...
8 .br
9 .B printf
10 \fIOPTION\fR
11 .SH DESCRIPTION
12 .\" Add any additional description here
13 .PP
14 Print ARGUMENT(s) according to FORMAT.
15 .TP
16 \fB\-\-help\fR
17 display this help and exit
18 .TP
19 \fB\-\-version\fR
20 output version information and exit
21 .PP
22 FORMAT controls the output as in C printf.  Interpreted sequences are:
23 .TP
24 \e"
25 double quote
26 .TP
27 \eNNN
28 character with octal value NNN (1 to 3 digits)
29 .TP
30 \e\e
31 backslash
32 .TP
33 \ea
34 alert (BEL)
35 .TP
36 \eb
37 backspace
38 .TP
39 \ec
40 produce no further output
41 .TP
42 \ef
43 form feed
44 .TP
45 \en
46 new line
47 .TP
48 \er
49 carriage return
50 .TP
51 \et
52 horizontal tab
53 .TP
54 \ev
55 vertical tab
56 .TP
57 \exHH
58 byte with hexadecimal value HH (1 to 2 digits)
59 .TP
60 \euHHHH
61 Unicode (ISO/IEC 10646) character with hex value HHHH (4 digits)
62 .TP
63 \eUHHHHHHHH
64 Unicode character with hex value HHHHHHHH (8 digits)
65 .TP
66 %%
67 a single %
68 .TP
69 %b
70 ARGUMENT as a string with `\e' escapes interpreted,
71 except that octal escapes are of the form \e0 or \e0NNN
72 .PP
73 and all C format specifications ending with one of diouxXfeEgGcs, with
74 ARGUMENTs converted to proper type first.  Variable widths are handled.
75 .PP
76 NOTE: your shell may have its own version of printf, which usually supersedes
77 the version described here.  Please refer to your shell's documentation
78 for details about the options it supports.
79 .SH AUTHOR
80 Written by David MacKenzie.
81 .SH "REPORTING BUGS"
82 Report bugs to <bug\-coreutils@gnu.org>.
83 .SH COPYRIGHT
84 Copyright \(co 2007 Free Software Foundation, Inc.
85 .br
86 This is free software.  You may redistribute copies of it under the terms of
87 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
88 There is NO WARRANTY, to the extent permitted by law.
89 .SH "SEE ALSO"
90 The full documentation for
91 .B printf
92 is maintained as a Texinfo manual.  If the
93 .B info
94 and
95 .B printf
96 programs are properly installed at your site, the command
97 .IP
98 .B info printf
99 .PP
100 should give you access to the complete manual.