HP NonStop G-Series User Manual
Page 28
![background image](/manuals/397048/28/background.png)
Typing Commands
Introduction to EDIT
1–8
058061 Tandem Computers Incorporated
A line number can have from one to five digits, followed by a decimal point
and from one to three digits. Thus, your file can have line numbers
anywhere from 0 to 99999.999. Some examples of line numbers used by
EDIT are:
10.2
85447
0.21
0003.00
104.10
The same as 104.1
The same as 3
As you use EDIT, you see the line numbers on your screen along with the
text they contain.
Line numbers are important to the line editor, primarily because you often
need to use specific line numbers when you use editor commands. When
you type an editor command, you ask the EDIT program to “operate” on
one or more lines of text in your EDIT file. These one or more lines are
considered “the range” for that editor command and tell EDIT the lines of
text on which you want the EDIT command to operate. In the EDIT
program, you see the line numbers assigned to the text in your EDIT file so
you can easily use them when you need to include a range with an editor
command.
Ranges are discussed in more detail in Section 5.
Typing Commands
You can type command names and keywords (words that modify the action
of a command) in any combination of uppercase and lowercase characters.
Using the LIST command and the ALL keyword for an example, all these
following commands are equivalent:
*list all *lIsT aLl
*List All *LIST ALL