Commit | Line | Data |
---|---|---|
3eb5d546 C |
1 | |
2 | This is an easy unit. If you just hit | |
3 | "newline" (or "carriage return", whatever it | |
4 | is labeled on your terminal), the | |
5 | editor will simply print the next line | |
6 | as you can see by trying this out. Edit the | |
7 | file "pres"; print some line; then hit return | |
8 | or newline, and watch the editor print the | |
9 | next line. Is there any difference between | |
10 | newline and ".+1p" as a command? When you | |
11 | think you know, leave the editor and type "yes" or "no". | |
12 | #create pres | |
13 | George Washington | |
14 | John Adams | |
15 | Thomas Jefferson | |
16 | James Madison | |
17 | James Monroe | |
18 | John Quincy Adams | |
19 | Andrew Jackson | |
20 | Martin van Buren | |
21 | William Henry Harrison | |
22 | John Tyler | |
23 | James K. Polk | |
24 | Franklin Pierce | |
25 | Millard Fillmore | |
26 | James Buchanan | |
27 | Abraham Lincoln | |
28 | #copyin | |
29 | #user | |
30 | #uncopyin | |
31 | #match no | |
32 | #log | |
33 | #next | |
34 | 56.1a 10 |