Go forward to Special Files.
Go backward to Printf.
Go up to Printing.
Redirecting Output of `print' and `printf'
==========================================
So far we have been dealing only with output that prints to the
standard output, usually your terminal. Both `print' and `printf' can
also send their output to other places. This is called "redirection".
A redirection appears after the `print' or `printf' statement.
Redirections in `awk' are written just like redirections in shell
commands, except that they are written inside the `awk' program.
Menu
- File/Pipe Redirection
- Redirecting Output to Files and Pipes.
- Close Output
- How to close output files and pipes.