D - Delete one or more lines.

Syntax:

D

Examples:

d
4d
*d
10,$d

Description:

D deletes one or more lines. If you do not specify an address, D deletes the current line. If you specify one address, D deletes that line. If you specify two addresses, D deletes all the text between and including the given lines. In this case, the first address must precede the second.

After all deletions are done, FRED sets "." to the line after the last line deleted.

*D will delete the entire contents of the current buffer. It is valid to issue *D in an empty buffer.

Copyright © 1998, Thinkage Ltd.