Recovering Deleted Lines

If you delete one or more lines, you can recover them anytime during an editing session by using the RECOVER subcommand.

The following subcommand returns lines deleted in an editing session:

Read syntax diagramSkip visual syntax diagram RECover n

where n represents the number of lines you wish to recover.

Recovered lines are inserted starting at the current line. The last lines deleted are the first lines recovered. If the lines were deleted from different places in the file, you put them back where they belong (by using the M prefix subcommand, discussed later.)

To recover all lines you deleted during an editing session, enter:
====>  recover *
In the previous example of the A and D prefix subcommands, six lines were deleted. Entering,
====>  recover 2

results in:

Figure 1. RECOVER Subcommand — Recovering Two Deleted Lines
 DESSERT  RECIPES  A1  F 80  Trunc=80 Size=14 Line=9 Col=1 Alt=1
2 line(s) recovered
===== * * * Top of File * * *
===== CHOCOLATE SAUCE
=====
=====       12    OUNCES SEMI-SWEET CHOCOLATE
=====        2    OUNCES UNSWEETENED CHOCOLATE
=====        1    CUP HEAVY CREAM
=====        2    OUNCES COGNAC
=====
=====
=====             PINCH OF SALT
      |...+....1....+....2....+....3....+....4....+....5....+....6....+....7...
=====             DASH OF PEPPER
===== APRICOT GLAZE
=====
=====        1    JAR APRICOT PRESERVES (1 POUND)
=====        2    TABLESPOONS KIRSCH
===== * * * End of File * * *



====>
                                                            X E D I T  1 File