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

#print
Suppose you have a memo in a file and
the line with the title is preceded by a line
with "TL" on it.  What command would print
the title?  Reply

answer COMMAND

where COMMAND is the search-and-print command to do that.
#copyin
#user
#uncopyin
#match /TL/+1p
#match /TL/+
#match /TL/1
#match /TL/1p
#match /TL/+p
#match /TL/+1
#log
#next
51.2c 5

unix.superglobalmegacorp.com

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