|
|
1.1 ! root 1: #print ! 2: So far all the special characters in the substitute ! 3: command are used to select the string to be replaced. ! 4: There is one character used in the new string to be inserted. ! 5: It is '&' which when used on the right hand side of a substitution, ! 6: refers to the expression given on the left hand side. ! 7: For example, the command ! 8: ! 9: s/the/&m/ ! 10: ! 11: changes "the" into "them". Try that on file "text"; ! 12: then rewrite the file and type "ready". ! 13: #create Ref ! 14: we went to see them yesterday. ! 15: #create text ! 16: we went to see the yesterday. ! 17: #user ! 18: #cmp text Ref ! 19: #log ! 20: #next ! 21: 36.2b 5
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.