printf - format and print data
printf FORMAT [ARGUMENT]...
Print ARGUMENT(s) according to FORMAT.
FORMAT controls the output as in C printf. Interpreted sequences are:
\uHHHH Unicode (ISO/IEC 10646) character with hex value HHHH (4 digits)
except that octal escapes are of the form \0 or \0NNN
and all C format specifications ending with one of diouxXfeEgGcs, with ARGUMENTs converted to proper type first. Variable widths are handled.
NOTE: 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.
Written by David MacKenzie.
Report bugs to <email@example.com>.
Copyright (C) 2006 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.
The full documentation for printf is maintained as a Texinfo manual. If the info and printf programs are properly installed at your site, the command
should give you access to the complete manual.
Table of Contents