Go forward to One-liners.
Go backward to Reading Files.
Go up to Top.
Printing Output
***************
One of the most common things that actions do is to output or "print"
some or all of the input. For simple output, use the `print'
statement. For fancier formatting use the `printf' statement. Both
are described in this chapter.
Menu
- Print
- The `print' statement.
- Print Examples
- Simple examples of `print' statements.
- Output Separators
- The output separators and how to change them.
- OFMT
- Controlling Numeric Output With `print'.
- Printf
- The `printf' statement.
- Redirection
- How to redirect output to multiple
files and pipes.
- Special Files
- File name interpretation in `gawk'.
`gawk' allows access to
inherited file descriptors.