editor.de Command/Editor

editor.de

Command editor.de Command/Editor
Applicable release versions: AP, R83
Category Editor (43)
Description deletes one or more lines from the current item, starting at the current line number position.

If a string is specified, only the lines containing the string are deleted.

The "start.col" and "end.col" parameters respectively indicate the beginning and ending column ranges in which string comparisons are made. See the "c" command for determining column positions.

A "de" command ending in a delimiter displays the lines as they are deleted. Note that the line pointer is not incremented.

Lines are not actually deleted until the item is "flipped" with an "f" command. See the "x" ("oops") command to cancel the "de".
Syntax de
de#lines{/}
de#lines/string
de#lines/string/start.col-end.col
Options
Example
.de<return> 

This deletes the current line. 

.de10<return> 

This deletes the current line and the next nine lines. 

.de10/<return> 

This deletes and displays the current and next nine lines. 

.de10/abc<return> 

This deletes lines containing the string, "abc", in the current and 
next nine lines. Any lines not containing this string will not be deleted.

.de10/abc/5-9<return> 

This deletes and displays the lines containing the string, "abc", in 
column ranges 5 through 9, in the current and next nine lines. Any lines not 
containing this string, starting at column position 5, will not be deleted.
Purpose
Related editor.i
editor.c
editor.introduction