Question
April 1, 2007 at 05:12 AM
sach2_in

using SED to replace string with / /

by sach2_in . Updated 19 years, 6 months ago

how do i replace “hi” with “how / are / you ” in a file using sed .

the problem is sed gives error when replacing due to presence of ” / ” in the value to be replaced .

one way on doing it is to use escape “\” before occurance of / .

Is there any other method without using escape \. ???

This discussion is locked

All Comments