Date: Tue, 24 Nov 1998 18:23:45 -0500 From: Malartre <malartre@aei.ca> To: questions@FreeBSD.ORG Subject: "vi" problem with search & replace (vi do not accept "/"). Message-ID: <365B4001.4EFA71EB@aei.ca>
next in thread | raw e-mail | index | archive | help
This is not FreeBSD specific, but I guess someone could give me the trick: I want to "search & replace" the sentence "</TT></B></FONT>" with "<</COMMAND>>". :%s/</TT></B></FONT>/<</COMMAND>>/g But that give me an error (has I expected, because of the "/" in those HTML tags. Usage: [line [,line]] s [[/;]RE[/;]repl[/;] [cgr] [count] [#lp]]. Well, I don't know how to type a "/" without interfering with vi's /. Thank you -- [Malartre][malartre@aei.ca][http://www.lowrent.org/freebsd/malartre/] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?365B4001.4EFA71EB>