I\'m trying to find and replace a string in a folder of files.
Could someone possibly help me?
My script is as follows:
#!/bin/bash OLD=\"Thi
Use the -i option of sed to make the changes in place:
-i
sed
sed -i "s/$OLD/$NEW/g" "$f" ^^