File:  [CSRG BSD Unix] / 43BSDTahoe / usr.lib / learn / editor / L10.3c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

#print
Don't forget the use of arithmetic combinations
with the "p" command.  For example, the
current line is "." and the next line is ".+1";
do you see how to print the current line and the
next line with one command?  Think of it as "print
from this line to the next line".  Type "answer COMMAND"
where COMMAND is what your line with "p" will look like.
#copyin
#user
#uncopyin
#match .,.+1p
#match .,+p
#match .,+1p
#match .,.1p
#log
#next
10.3d 5
10.1b 10

unix.superglobalmegacorp.com

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