The break command: breaking lines – HP NonStop G-Series User Manual
Page 61
The BREAK Command: Breaking Lines
Revising Text in Your File
3–18
058061 Tandem Computers Incorporated
The BREAK
Command: Breaking
Lines
When you need to break a line of text in a particular place, use the BREAK
command. The BREAK command enables you to:
Break one line of text into two or more lines by marking the breaks with
a character
Break one line of text into two or more lines by specifying the character
strings where you want breaks to occur
Break one line of text into two or more lines by specifying column
numbers where you want breaks to occur
Suppose your file now contains these lines:
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,
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.
When you give the BREAK command, you must specify the line you want
broken. Suppose you want to break line 1:
*BREAK 1
EDIT displays line number 1 and waits for you to mark the breaks:
Old King Cole was a merry old soul And a merry old soul