http://www.usf.uos.de/infoservice/doc/

(gawk.info)Printf


Next: Redirection Prev: OFMT Up: Printing
Enter node , (file) or (file)node

Using `printf' Statements for Fancier Printing
==============================================

   If you want more precise control over the output format than `print'
gives you, use `printf'.  With `printf' you can specify the width to
use for each item, and you can specify various formatting choices for
numbers (such as what radix to use, whether to print an exponent,
whether to print a sign, and how many digits to print after the decimal
point).  You do this by supplying a string, called the "format string",
which controls how and where to print the other arguments.


* Basic Printf
Syntax of the `printf' statement.
* Control Letters
Format-control letters.
* Format Modifiers
Format-specification modifiers.
* Printf Examples
Several examples.

Next: Redirection Prev: OFMT Up: Printing
[ Dokumentation lokal installierter Software ]