|
|
1.1 ! root 1: #print ! 2: Write the command that will change ! 3: either the word "that" or the word "than" ! 4: into "this", and then print the result. Type ! 5: "answer COMMAND" on a line, where COMMAND is ! 6: that string. (That is, COMMAND ! 7: will be of the form ! 8: s/.../.../p ! 9: where you have replaced the ... with the right stuff.) ! 10: You can test this out by going into the editor and ! 11: typing in a line that contains "that" and "than" ! 12: and trying to change it. You should do that until you ! 13: are sure you have the command right. ! 14: #copyin ! 15: #user ! 16: #uncopyin ! 17: #match s/tha[nt]/this/p ! 18: #match s/tha[tn]/this/p ! 19: #match s/tha[nt]/this/gp ! 20: #match s/tha[tn]/this/gp ! 21: #log ! 22: #next ! 23: 34.1a 10 ! 24: 34.2a 5
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.