From owner-freebsd-questions Tue Nov 24 15:24:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA21763 for freebsd-questions-outgoing; Tue, 24 Nov 1998 15:24:50 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gamma.aei.ca (gamma.aei.ca [206.123.6.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA21758 for ; Tue, 24 Nov 1998 15:24:48 -0800 (PST) (envelope-from malartre@aei.ca) Received: from aei.ca (ppp-109-29.mtl.aei.ca [207.107.109.29]) by gamma.aei.ca (8.8.5/8.8.5) with ESMTP id SAA00974 for ; Tue, 24 Nov 1998 18:24:44 -0500 (EST) Message-ID: <365B4001.4EFA71EB@aei.ca> Date: Tue, 24 Nov 1998 18:23:45 -0500 From: Malartre X-Mailer: Mozilla 4.06 [en] (X11; I; FreeBSD 2.2.7-STABLE i386) MIME-Version: 1.0 To: questions@FreeBSD.ORG Subject: "vi" problem with search & replace (vi do not accept "/"). Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is not FreeBSD specific, but I guess someone could give me the trick: I want to "search & replace" the sentence "" with "<>". :%s//<>/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