12.4 Merge Commands ↑
12.4.9 ifnewgroup command
Lines following this command and preceding the next group or endif command will be written to the output file at the beginning of a group of records sharing a common value for this key field.
Ifnewgroup commands should follow all other group commands, and should generally be specified in ascending order by group number.
The ifnewgroup command has one operand.
- Group Number. The group number whose group-beginning output lines follow.
Next: 12.4.10 if command