to_line option handles records until a requested line number is reached. It is disabled by default with the value
- Validation: positive integer
- Since: 4.0.0
to— see Available Options
The line matching the value is parsed and the record is including the output. If the record does not end on the line, for example when the new line character is escaped or quoted, it will be disregarded.
This example return the first two lines and skip all the following records.