Vi search and replace

Luc MAIGNAN luc.maignan at winxpert.com
Tue Oct 17 13:38:13 UTC 2006


You can simply escape it by '\'

%s/\/T/T/g

Best regards

Phil a écrit :
> 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 /?
>
> %s/"/T"/T/g obvisouly does not work....
>
> how do I specify a / in the vi search string?




More information about the fedora-list mailing list