Which command will add the text correctly?

You have a file that contains a list of parts in a single column. You need to append the text string
.ex2009 to each entry. You will use the vi editor and the last line mode to append this text to each
entry. Which command will add the text correctly?

You have a file that contains a list of parts in a single column. You need to append the text string
.ex2009 to each entry. You will use the vi editor and the last line mode to append this text to each
entry. Which command will add the text correctly?

A.
:%s/*/.ex2009/

B.
:%s/.$/.ex2009/

C.
:%s/$/.ex2009/

D.
:%s/*$/.ex2009/

Explanation:



Leave a Reply 0

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