How can I use VI to find a "/"? For example, I have a script which moves a lot of files to another directory. The directory structure in the script is wrong so I want to search for "$HOME/stnd_by/one" and replace it with just "$HOME/one"
if I do:
:%s/stnd_by//g
I end up with "$HOME//one" on all lines.
Sticking the search expression in quotes doesn't work.
Thanks.
if I do:
:%s/stnd_by//g
I end up with "$HOME//one" on all lines.
Sticking the search expression in quotes doesn't work.
Thanks.