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
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005