Revising text in your file, The join command: lengthening and shortening lines – HP NonStop G-Series User Manual
Page 60
The JOIN Command: Lengthening and Shortening Lines
Revising Text in Your File
058061 Tandem Computers Incorporated
3–17
To lengthen the first three lines to a maximum width of 55, use the
following command line (note the keyword WIDTH):
*JOIN 1/1.2 WIDTH 55
1 Old King Cole was a merry old soul And a merry old soul
1.1 was he; He called for his pipe, and he called for his
1.2 bowl,
*
To shorten lines 2 through 6 to a maximum line width of 25, type:
*JOIN 2/6 WIDTH 25
2 And he called for his
2.1 fiddlers three. Every
3 fiddler, he had a fine
3.1 fiddle And a very fine
4 fiddle had he; Oh
5 there's none so rare as
5.1 can compare With King
6 Cole and his fiddlers
7 three.
*
However, you may not know the exact column number that you want to
use as your new column width. In this case, use LIST with the keyword
COL to create a column number template for a line of your file:
*LIST COL 1.2
....+....1....+....2....+....3....+....4....+....5.
1.2 He called for his pipe, and he called for his bowl,
*
The numerals 1, 2, 3, 4, and 5 indicate columns 10, 20, 30, 40, and 50,
respectively. The plus (+) signs occur at columns 5, 15, 25, and so on, and
the periods occur at the other column positions.