1 03/12/76   edit locate, edit loc
 2 
 3 Function:  The locate request causes the current file to be searched
 4 for all occurrences of a specified text string.  Each line containing a
 5 match for the string is printed.  If line number arguments are
 6 supplied, the search is restricted to the lines given; otherwise the
 7 entire file is searched.
 8 
 9 
10 Syntax:  edit locate /text_string/{line1 line2 ... lineN}
11 
12 
13 where:
14 
15 1.   /              is the string delimiter.  Any character except
16                     blank or tab can be used as the string delimiter so
17                     long as it does not appear in the string itself.
18 
19 2.   text_string    is the string of characters to be matched; any
20                     character (including blank) except the delimiter
21                     may be used.
22 
23 3.   linei          is a single line or range of lines.
24 
25 
26 Example:
27 
28 !    new sample
29      ready  0707
30 
31 
32 !    210 if m>n then 260
33 !    220 next i
34 !    230 if n<>m then 260
35 !    240 print "ok"
36 !    250 stop
37 !    260 go to 100
38 !    edit locate />/
39      210 if m>n then 260
40      230 if n<>m then 260
41      ready  0707