Which command would youreplace “bob” with “Bob” in all instances and generate a new letter for printing?

You have created a really long letter and after you are done, you notice that you used the name
"Bob" many times but your forgot to capitalize it in many instances. Which command would you
replace "bob" with "Bob" in all instances and generate a new letter for printing?

You have created a really long letter and after you are done, you notice that you used the name
"Bob" many times but your forgot to capitalize it in many instances. Which command would you
replace "bob" with "Bob" in all instances and generate a new letter for printing?

A.
sed `/bob/Bob’ letter > newletter

B.
sed s/bob/Bob/ letter < newletter

C.
sed `s/bob/Bob’ letter > newletter

D.
sed `s/bob/Bob/g’ letter > newletter

E.
sed s/bob, Bob/’ letter > newletter



Leave a Reply 0

Your email address will not be published. Required fields are marked *