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


D (delete) Command

D[number-of-lines]

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

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.

Rules for Using the D (delete) Line Command