How can I use a shell script and VI to replace entire strings in a file?
I know the VI code:
Code:
:%s/search/replace/g
I have words with forward slashes in them though which doesn't work.
Example: Replace http:// with ftp://
doesn't work. Anyone know how to make it work?