fd command

The fd command deletes the current item. Control returns to TCL, or to the next item in the list, if more than one item was requested. The default behavior of the fd command unconditionally prompts for confirmation of the deletion.

Syntax

 fd

Description

To recover the item, use the TCL recover-fd command. This command must immediately follow the fd command.

Example(s)

ed bp print.invoices.bak
top
.fd
’print.invoices.bak’ deleted.