:%s/into//*+ append */ into/g not functioning in vi

In vi editor I want to substitute the word into to this:

/*+ append */ into

because the way to do it involves a slash, it is not funcitoning, how to do it?

:%s/into//*+ append */ into/g
LVL 8
LindaCAsked:
Who is Participating?
 
ghostdog74Commented:
you escape the slash, so if you want to change / to "o" for example, you do  /\\/o/g
0
 
LindaCAuthor Commented:
In fact I found the solution which is:

:%s;into;/*+ append */ into;g

But thank you, I will test this later because now is too late.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.