summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/editor/L51.2b
blob: 0d093f3ef0dd0f62abcb7ba08a8c11e93bfc27fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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