My filename is myfile.txt and i want to replace some data inside it using shell script.
I want to replace ScriptPathPC=\Myfile\file_core into ScriptPathPC=./file_core/
The code which i tried is
replace "ScriptPathPC=\Myfile\file_core" "ScriptPathPC=./file_core/" -- myfile.txt
But this command is working well with forward slash[/] and not with backward slash[]. Is there any other solution for this??