Awk: Invocation
A typical invocation of awk on OpenVMS looks like this
gawk -f program.awk input.file >output.file
Where:
- -f program.awk
- Text file containing the awk code to be executed
- input.file
- Input file with the information to be processed
- >output.file
- Output file containing the result of the awk run.
If this parameter is missing output is printed to the screen
(esp. useful for debugging purposes).
Martin P.J. Zinser