blob: c3c5a8b049961124aebc7f93649ff7acd5b6383b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#print
Note that the // searches always go forward.
Sometimes you want to go backward, to find
some expression on a line before the
one you are now working on.
In that case you can search with a command like
?abc?p
which prints the nearest preceding line which
contains 'abc'. What command would print
the nearest previous line that ends in "cat"?
Type "answer COMMAND" when you figure it out.
#copyin
#user
#uncopyin
#match ?cat$?p
The "p" isn't needed, but use it if you like too.
#match ?cat$?
#cmp X1 X2
#log
#next
54.1a 10
53.2b 7
|