2.9BSD/usr/lib/learn/editor/L10.3a
#print
Often you want to refer to the last line
of the file. You don't have to know the number
of lines in the file to do that; there
is a special address, "$", that always
refers to the last line. So you
can print the last line of a file with $p;
try that, then type w, q and ready as usual.
#create Ref
This is the end of the file and the line you should print.
95
#create file
don't print this line
or this one
This is the end of the file and the line you should print.
#copyout
#pipe
ed file
#user
#unpipe
#uncopyout
tail -2 .ocopy >X1
#cmp X1 Ref
#log
#next
10.3b 5
10.3c 10