Vi search and replace

Alexander Apprich a.apprich at science-computing.de
Tue Oct 17 13:36:48 UTC 2006


Hi Phil,

Phil wrote:
> Hello,
> 
> I am trying to do a search and replace in vi but I need to search and 
> replace on "/T"
> 
> so how do I escape the /?
> 

with the backslash "\"

> %s/"/T"/T/g obvisouly does not work....
> 
> how do I specify a / in the vi search string?
> 

Hth

Alex




More information about the fedora-list mailing list