Bell 32V development
[unix-history] / usr / lib / learn / editor / L10.3f
#print
How would you print from the first line of a file to
the next to last line (thus printing all but the last
line of something)? I'll put you in the editor - do that
and then type the usual w, q and ready.
#create Ref
Boroughs
Manhattan
Brooklyn
Queens
the Bronx
Staten Island
92
#create file
Boroughs
Manhattan
Brooklyn
Queens
the Bronx
Staten Island
Don't print this line!
#copyout
#pipe
ed file
#user
#unpipe
#uncopyout
tail -7 .ocopy >X1
#cmp X1 Ref
#log
#next
10.1b 5