beautypg.com

HP NonStop G-Series User Manual

Page 121

background image

DELETE Command

EDIT Command Summary

4–42

058061 Tandem Computers Incorporated

2.

If the current EDIT file contains 2000 lines numbered from 1 to 2000 and
you issue the command:

*DELETE ! 50/700

Line-range

EDIT deletes lines 50 through 700 without asking you if it’s okay to do
so, prints these lines as it deletes them, and makes line number 701 the
current line.

3.

If the current file is:

1.5 Mary had a little lamb

1.8 Whose fleece was white as snow

2.1 And everywhere that Mary went

2.4 The lamb was sure to go.

2.7 He followed her to school one day

4 It was against the rule

4.3 It made the children laugh and play

4.6 To see a lamb in school.

and you issue the command:

*DELETE QUIET 2/3

Line-range

EDIT deletes lines 2.1, 2.4, and 2.7, does not print the lines it deletes,
and makes line number 4 the current line.

This manual is related to the following products: