Commit | Line | Data |
---|---|---|
fd15fd37 BJ |
1 | |
2 | The editor accepts commands one per line, | |
3 | just like the other programs in UNIX; but its | |
4 | commands are unique to it. The | |
5 | only command present in every editing session is the | |
6 | last one, 'q' (quit) which returns to the normal | |
7 | command interpreting program. I'm going to put | |
8 | you in the editor. Type 'q' to leave, | |
9 | and then type "ready" when you get the '$' from | |
10 | the normal command handler. | |
11 | #create junk | |
12 | You're in the editor. | |
13 | #pipe | |
14 | ed - junk | |
15 | 1p | |
16 | #user | |
17 | #unpipe | |
18 | #cmp junk junk | |
19 | #log | |
20 | #next | |
21 | 3.1b 5 |