· emacs
· Given a buffer full of English text, answer the following questions:
a. How would you change every instance of his to hers?
press M-x . Then enter:
hers RET his RET hers
M-x replace-string
his
hers
b. How would you make this change only in the final paragraph?
Through “M-h” select paragraph then “M-x replace-string his hers”
c. Is there a way to look at every usage in context before changing it?
d. d. How would you deal with the possibility that His might begin a sentence?
Esc <
0 comments:
Post a Comment