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