Bell 32V development
[unix-history] / usr / lib / learn / editor / L53.1a
CommitLineData
00b28f22
TL
1#print
2Note that the // searches always go forward.
3Sometimes you want to go backward, to find
4some expression on a line before the
5one you are now working on.
6In that case you can search with a command like
7 ?abc?p
8which prints the nearest preceding line which
9contains 'abc'. What command would print
10the nearest previous line that ends in "cat"?
11Type "answer COMMAND" when you figure it out.
12#copyin
13#user
14#uncopyin
15#match ?cat$?p
16The "p" isn't needed, but use it if you like too.
17#match ?cat$?
18#cmp X1 X2
19#log
20#next
2154.1a 10
2253.2b 7