Page mode editing c–38, You type the command, How to use replace block – HP NonStop G-Series User Manual
Page 308
![background image](/manuals/397048/308/background.png)
How to Use REPLACE BLOCK
Page Mode Editing
C–38
058061 Tandem Computers Incorporated
How to Use REPLACE
BLOCK
Study the following pages to see an example of using the REPLACE
BLOCK command.
1.
You’re editing a file that contains the following lines:
1 I am the very model
2 of a modern Major-General,
3 I've information vegetable,
4 animal, and mineral,
5 I know the kings of England,
6 and I quote the fights historical,
7 From Marathon to Waterloo,
8 in order categorical;
9 I'm very well acquainted too
10 with matter mathematical,
11 I understand equations,
12 both the simple and quadratical,
13 About binomial theorem
14 I'm teeming with a lot of news--
15 With many cheerful facts
16 about the square of the hypotenuse.
17 I'm very good at integral
18 and differential calculus,
19 I know the scientific names
20 of beings animalculous;
.
.
.
65 For my military knowlege,
66 though I'm plucky and adventury,
67 Has only been brought down
68 to the beginning of the century;
69 But still in matters vegetable,
70 animal, and mineral,
71 I am the very model
72 of a modern Major-General.
You type the command:
*REPLACE BLOCK ALL
to put the terminal in page mode and print every line in the file, one
block at a time, on the screen. The default number of lines in a block is
16. You can change the block size to a number between 1 and 20 by
using the BLOCK option of the SET command. (See the SET command,