Re: Vi search and replace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 /?

%s/"/T"/T/g obvisouly does not work....

how do I specify a / in the vi search string?
%s/\/T/T/g
the '\' is the escape
-B


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux