pattern1 , pattern2 { action } Range Pattern. The action is executed for the first record for which pattern1 is TRUE and every record until pattern2 evaluates TRUE. The range is inclusive. This illustrates the special meaning of the sequence operator in patterns.