beautypg.com

Edit command summary, The command – HP NonStop G-Series User Manual

Page 98

background image

ADD Command

EDIT Command Summary

058061 Tandem Computers Incorporated

4–19

The current file named TOM now looks like this:

35 Tom, Tom,

36 The piper's son

37 Stole a pig

38 And away he run.

39 Tom, Tom,

40.01 The piper's son

40.02 He learned to play

40.03 When he was young;

The command:

*ADD 38

38 And away he run.

38.1 The pig was eat

38.2 And Tom was beat,

38.3 //

*

lists line number 38. Since line number 39 already exists, the EDIT
program starts adding new text at line number 38.1 and uses a
numbering increment of .1. Line number 38.2 is the last line of new text
as well as the current line. 5.

The command:

*LIST LAST

40.03 When he was young;

*

lists the last line in the file and makes line number 40.03 the current
line. Line number 38.2 remains the last line of new text. (See the LIST
command, later in this section, for more information about LIST.)

This manual is related to the following products: