beautypg.com

HP NonStop G-Series User Manual

Page 27

background image

Line Numbers

Introduction to EDIT

058061 Tandem Computers Incorporated

1–7

When you simply press

RETURN

at the asterisk prompt (instead of entering

an editor command or text), EDIT responds by listing the next line of text in
the EDIT file. For example, if your EDIT file contains the lines:

7 I am only one,

8 But still I am one.

9 I cannot do everything,

10 But Still I can do something

11 And Because I cannot do everything

12 I will not refuse to do the something

13 that I can do.

then:

*LIST 7
7 I am only one,
* RETURN
8 But still I am one.
* RETURN
9 I cannot do everything,
*

Lists the text on

line number 9

Lists the text on

line number 8

Lists the text on

line number 7

If you continue to press

RETURN

until EDIT returns just the asterisk, you

have arrived at the end of the file, and EDIT cannot find any more text lines
to return.

Line Numbers

You use EDIT to display, add text to, and change text in an EDIT file. EDIT
assigns a line number to each line of text that you add to an EDIT file and
stores each line of text in numerical order within the EDIT file. Although
you can see the line numbers along the left margin of the screen (for
example, after you request a LIST command), the numbers are not part of
your actual document.

This manual is related to the following products: