Purpose: The DELETE editing command deletes one or more existing lines.
D/ELETE/ \\line1 [:line2]\\
line1 |
is a single line to be deleted, or the first line number of a range of lines to be deleted. |
line2 |
is the last line to be deleted when a range of lines is intended. |
--DELETE 10, 70:140,190
Here DELETE deletes line 10, all lines with line numbers between 69 and 141, and line 190.
--15
This entry deletes the text on line 15 but retains the line number.
NOTES: Up to ten individual lines or ranges of lines can be specified, separated by commas.