1 03/12/76   edit prefix, edit pre
 2 
 3 Function:  The prefix request inserts a given character string
 4 immediately before each occurrence of an existing character string.
 5 Line numbers are not affected.
 6 
 7 
 8 Syntax:  edit prefix /old_string/new_string/line1{ line2 ... lineN}
 9 
10 
11 where:
12 
13 1.   /              is any delimiter except blank or tab; the delimiter
14                     character cannot be a character in either
15                     old_string or new_string.
16 
17 2.   old_string     is the string to be located.
18 
19 3.   new_string     is the string to be inserted.
20 
21 4.   linei          is a single line number or range of lines; each
22                     linei specifies the bounds within which the
23                     substitution is to occur.
24 
25 
26 Example:
27 
28 !    new new_file
29      ready  1407
30 
31 !    10 let a = 10
32 !    20 let b = 100
33 !    30 let c = 1000
34 !    edit prefix /100/0/0-40
35      ready  1407
36 
37 
38 !    lisn
39 
40      10 let a = 10
41      20 let b = 0100
42      30 let c = 01000
43      ready  1407