85
rated 0 times
[
85]
[
0]
/ answers: 1 / hits: 108620
/ 2 Years ago, thu, june 23, 2022, 6:55:04
I would like to replace $fileWithPath
in $file
, however this doesn't work because (I think) path is not escaped. How to escape it?
sed -i 's/${fileWithPath}/HAHA/g' $file
More From » bash