beautypg.com

HP NonStop G-Series User Manual

Page 211

background image

Introduction to Ranges

Range Summary

5–8

058061 Tandem Computers Incorporated

Table 5-1. Range Summary (Page 3 of 3)

Range

What It
References

How You Specify
The Range

Examples

Ordinal-range

one or more lines of
contiguous text

by one or more
integers, FIRST, or
LAST that specify
the order in which
a string or line†
appears in file

F
120
8/L

Ordinal-range-

one or more ordinal-
ranges

by one or more
integers, FIRST, or
LAST that specify
the order in which
a string
or line† appears
in file

12
F 55/80
39/L
12 28 78
F/38 42/88

Range-specifier

two or more lines or
groups of lines of
contiguous text

by line number,
FIRST, LAST,
or *, (optionally
followed by a
signed number), by
beginning-line and
ending-line
(optionally followed
by a signed
number), and by
character string

1 5, “Shy”
1/5, 7/L-6
WORD “ab”, 6/L

† Only the GET command syntax accepts a reference to one or more lines in the ordinal-
range parameter; all other commands reference one or more locations (such as the first,
third, or tenth occurrence) of a string in a file when using the ordinal-range parameter.

This manual is related to the following products: