File:  [CSRG BSD Unix] / 42BSD / usr.lib / learn / editor / L6.2b
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
Same thing again, but this time print the
fifth line in the file.  Then type 'w', 'q',
and "ready".
#create Ref
:james monroe
#create file
george washington
john adams
thomas jefferson
james madison
james monroe
john quincy adams
#print file
#copyout
#pipe
ex +'set prompt noopt open' file
#user
#unpipe
#uncopyout
grep monroe .ocopy >X2
#cmp Ref X2
#log
#next
7.1a 10

unix.superglobalmegacorp.com

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