File:  [CSRG BSD Unix] / 42BSD / usr.lib / learn / editor / L5.1a
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD42
BSD 4.2

#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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.