Thank you for the replies! you guys rock and always help!
On 10/17/06, Luc MAIGNAN luc.maignan@xxxxxxxxxxxx
> wrote:
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?
Gee why go to all that trouble? The / is simply a field delimiter, so use something else instead, I ususally use a ,
%s,/T,T,g
Works just dandy.
Pete
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list