Computer Science, asked by TbiaSamishta, 11 months ago

Which of the following syntax is used to substitute all occurrences of phrase1 with phrase2 in the entire file without asking for user confirmation?? (a) :%s/phrase1/phrase2/g (b) :%s/phrase1/phrase2/gc (c) :s/phrase1/phrase2/g (d) :s/phrase1/phrase2/gc

Answers

Answered by aqibkincsem
4

The Vi and vim text editor provides the substitute and follow the search by replacing with syntax editor.


This should give with replace option and going to access with all occurrences by taking with asking search and replace syntax option.


The phrase is identified with file without asking with user confirmation and substitute occurrence with a text with another text with whole file.

Answered by shubhraval020
8

Answer:A) :%s/phrase1/phrase2/g

Explanation:check page no. 146 first line

Similar questions