Was this helpful?
Script Execution
For each line in the input source file, a test is made against each pattern in the script to determine if the text in the line matches the pattern. For each pattern that the line matches, the associated actions are executed. The patterns are tested in the order that they occur in the script. Action statements that appear without a pattern are executed for all lines. After all the lines in the input file are read, the program ends.
Last modified date: 06/13/2022