File:  [CSRG BSD Unix] / 42BSD / usr.lib / learn / editor / L9.2e
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 also employ addresses using arithmetic with
this kind of command.  For example, what "p" command
would you type to print from line 2 to the line
before the current line of the file?  Remember what
the line before the current line is: 
  .-1
right?
Type "answer COMMAND" where COMMAND is the specified
"p" command.
#copyin
#user
#uncopyin
#match 2,.-1p
#match 2,-p
#match 2,.-p
#log
#next
10.1a 10
10.2a 5
10.3a 2

unix.superglobalmegacorp.com

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