Output
The
print
and
printf
statements
are the two primary
constructs that generate output.
The
print
statement is used to generate simple output;
printf
is used for more carefully formatted output.
Like the shell,
awk
lets you redirect output, so that output
from print and printf can be directed to files and pipes.
This section describes the use of these two statements.
Next topic:
The print statement
Previous topic:
Some lexical conventions
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004