Column-range-list parameter – HP NonStop G-Series User Manual
Page 233
Column-Range-List Parameter
Range Summary
5–30
058061 Tandem Computers Incorporated
Column-Range-List
Parameter
The column-range-list parameter is based on the column-range parameter.
It allows an optional repetition of the column-range parameter when an
editor command will accept it. Because the repetition of the column-range is
optional, an editor command offers more flexibility when the syntax
specifies a column- range-list. A column-range-list parameter can represent
a single column or several areas, delimited by pairs of column numbers, in
one line of your file.
Syntax of the Column-
Range-List Parameter
column-range-list:
is
column-range [ column-range ] ...
Refer to the previous presentation of the Column-Range Parameter for a full
description on using this range parameter.
Examples
The current EDIT file for the following examples is:
20 1, 2, buckle my shoe
21 3, 4, close the door
22 5, 6, pick up sticks
23 7, 8, lay them straight
24 9, 10, a big fat hen
1.
The command:
*CHANGE 3 6 " " 20/23
20 1, 2, buckle my shoe
21 3, 4, close the door
22 5, 6, pick up sticks
23 7, 8, lay them straight
*
adds two blank spaces at columns 3 and 6 in lines 20 through 23.