Given a buffer full of English text, answer the following questions:

a. How would you change every instance of his to hers?
b. How would you make this change only in the final paragraph?
c. Is there a way to look at every usage in context before changing it?
d. How would you deal with the possibility that His might begin a
sentence?

a. Give the command META-< META-x replace-stringRETURN hisRETURN hers.
b. Give the command META-> META-{ followed by META-x replace-stringRETURN
hisRETURN hers.
c. Give the command META-< META-x query-replaceRETURN hisRETURN hers, and type y
or n to replace or not replace each highlighted occurrence of his.
d. Give the command META-< query-replace-regexpRETURN \([Hh]\)isRETURN \1ers,
and type y or n to replace or not replace each highlighted occurrence of his
or His. Refer to “Bracketing Expressions” on page 1070 for more informa-
tion on the use of \(...\) in a regular expression.

Computer Science & Information Technology

You might also like to view...

A storage administrator needs to connect a server to a storage array shared by 12 other servers. Which of the following interface types could be used to accomplish this connection?

A. Fibre Channel B. SAS C. USB D. SCSI

Computer Science & Information Technology

Which of the following symptoms is most indicative of a bad sensor on a laser printer?

a. Blank pages printed without errors b. Spontaneous printer reboots c. Paper jam error but no jammed paper d. Paper is picked up in twos and threes

Computer Science & Information Technology