Previous Topic: C (copy) CommandNext Topic: X (exclude) Command


D (delete) Command

D[number-of-lines]

where:

number-of-lines-specifies the number of lines to be deleted.

D-specifies a single line to be deleted.

Dn-specifies the first of n lines to be deleted.

DD...DD-specifies the first and last lines of a block of lines to be deleted.

The D (delete) command is used to delete a line or block of lines. No other line commands can be entered on the lines to be deleted.

Rules for Using the D (delete) Line Command