Commit | Line | Data |
---|---|---|
00b28f22 TL |
1 | |
2 | Perhaps the most powerful editor command is the 'g' | |
3 | (global) command. This command selects sets of lines | |
4 | on which other commands are executed. For example, | |
5 | g/abc/p | |
6 | prints all lines on which 'abc' appears. In this directory | |
7 | is a file "story". Print all lines on which the word | |
8 | "of" appears. Then leave the editor and type "ready". | |
9 | #create Ref | |
10 | The people of the United States are in a sense becoming a nation | |
11 | of the United States in the future, it will be because that system | |
12 | did too good a job of filling many of the needs of the people. | |
13 | #create story | |
14 | The people of the United States are in a sense becoming a nation | |
15 | on a tiger. They must learn to consume more and more or, they are | |
16 | warned, their magnificent economic machine may turn and devour them. | |
17 | They must be induced to step up their individual consumption higher | |
18 | and higher, whether they have any pressing need for the goods or | |
19 | not. Their ever-expanding economy demands it. | |
20 | If modifications are forced upon the private-enterprise system | |
21 | of the United States in the future, it will be because that system | |
22 | did too good a job of filling many of the needs of the people. | |
23 | #copyout | |
24 | #user | |
25 | #uncopyout | |
26 | grep of .ocopy >x1 | |
27 | #cmp x1 Ref | |
28 | #log | |
29 | #next | |
30 | 70.2b 5 |