HP NonStop G-Series User Manual
Page 91
![background image](/manuals/397048/91/background.png)
Introduction to Ranges
EDIT Command Summary
4–12
058061 Tandem Computers Incorporated
Table 4-1. Common Ranges
Range
How You Specify the Range
Command Example
A single line
Line number
LIST 10
The first line
Keyword FIRST (F)
DELETE F
The last line
Keyword LAST (L)
FIX L
The current line
*
LIST *
Several separate lines
Line numbers separated by spaces
REPLACE 1 5 10 15
Beginning line and ending line
LIST 12.3/36
Consecutive lines
Keyword FIRST and a line number
LIST F/5 10/22
Keyword LAST and a line number
MOVE 2/L to 50
* and a line number
JOIN 3/* WIDTH 7
One or more lines
containing a character
string
Character string
BREAK AT “Jack”
CHANGE WORD
“is”was” ALL
One column
Column number
CHANGE 1 “ ” ALL
A group of columns
Rightmost and leftmost columns
separated by :
LIST “he” COL 3:30
Several
separatecolumns
Column numbers separated by
spaces
BREAK AT 5 20 35
All lines
Keyword ALL (A)
LIST A