Range summary – HP NonStop G-Series User Manual

Page 246

Advertising
background image

Range-Specifier Parameter

Range Summary

058061 Tandem Computers Incorporated

5–43

You can use the column-range-list independently and also as an option
within the string-range-list parameter. When you use a column-range
by specifying a left column number and a right column number, the
right column number must be equal to or greater than the left column
number (for example, 5:5 is valid, FIRST:LAST is valid, 15:7 is not
valid). If you only specify a left column number, string must begin in
that column; if you specify a left and right column number, string must
be within the boundaries of the column.

If you want to pinpoint a column number (for example, if you need to
determine the column where a particular string begins within a file),
use the LIST COL command with a line range. LIST COL tells EDIT to
list a column number template above each displayed line. (See the LIST
command in Section 4 for more information.)

Examples

The current EDIT file for the following examples is:

11 Tom, Tom

12 The piper's son

13 Stole a pig

14 And away he run.

15 The pig was eat

16 And Tom was beat,

17 And Tom went crying

18 Down the street.

19 Tom, Tom

20 The piper's son

21 He learned to play

22 When he was young;

23 But all the tunes

24 That he could play

25 Was "Over the hills

26 And far away."

Advertising
This manual is related to the following products: