4.3BSD-UWisc/lib/learn/editor/L5.1a

#print
The most frequently used editor command is
  p
which prints out a line.  Try that now.
Type the command sequence

p
w
q

to print out a line, and then write out the file.
Then type "ready".
#create Ref
:This is the line to be printed. Don't forget w, then q.
:"file" 1 line, 56 characters
#create file
This is the line to be printed. Don't forget w, then q.
#copyout
#pipe
ex +'set prompt noopt open' file
#user
#unpipe
#uncopyout
tail -2 .ocopy >X2
#cmp Ref X2 2
#log
#next
6.1a 5
6.2a 2