beautypg.com

Revising text in your file – HP NonStop G-Series User Manual

Page 46

background image

The DELETE Command: Deleting Lines

Revising Text in Your File

058061 Tandem Computers Incorporated

3–3

Lines 2 through 5 are removed from the file. You can review the remaining
lines in the file by listing them:

*LIST ALL

1 Jack be nimble

1.1 Jack be quick

1.2 Jack jump over the candlestick.

6 And Jill came tumbling after.

*

You can delete several separate lines by listing them after the DELETE
command. Separate them with a single space:

*DELETE 1 1.1 1.2

1 Jack be nimble

1.1 Jack be quick

1.2 Jack jump over the candlestick.

*

You can delete all the lines in a file by using the ALL range parameter with
the DELETE command. For example:

*DELETE ALL

6 And Jill came tumbling after.

*

This manual is related to the following products: