I want to replace the first string with the next
FindText[1]=/Folder 1/01. SubFolder/Demo(Object)
ReplaceText[1]=/Folder 1/01. SubFolder/02. SubFolder/Demo(Object)
I have tried this option with "|
" but doesn't work.
>>sed -i 's|FindText[1]=/Folder 1/01. SubFolder/Demo(Object)|ReplaceText[1]=/Folder 1/01. SubFolder/02. SubFolder/Demo(Object)|g' filename.txt
The square brackets in the find expression doesn't seem to be found.