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