File:  [CSRG BSD Unix] / 42BSD / usr.lib / learn / editor / L9.2a
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
You can print several lines at once by
using commands like
  1,3p
which prints lines 1, 2 and 3.  Again,
I'll put you into the editor.  Print
lines 1 to 3 of the file;  then type
w, q and ready.
Your commands should look like
  1,3p
  w
  q
  ready
#create Ref
:george washington
john adams
thomas jefferson
:"file" 6 lines, 91 characters
#create file
george washington
john adams
thomas jefferson
james madison
james monroe
john quincy adams
#copyout
#pipe
ex +'set prompt noopt open' file
#user
#unpipe
#uncopyout
tail -4 .ocopy >X1
#cmp X1 Ref 4
#log
#next
9.2b 5

unix.superglobalmegacorp.com

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