From owner-freebsd-questions Tue May 25 13: 7:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from finch-post-11.mail.demon.net (finch-post-11.mail.demon.net [194.217.242.39]) by hub.freebsd.org (Postfix) with ESMTP id 9A9D015917 for ; Tue, 25 May 1999 13:07:27 -0700 (PDT) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by finch-post-11.mail.demon.net with smtp (Exim 2.12 #1) id 10mNTm-00063x-0B; Tue, 25 May 1999 20:07:15 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from marder-1. (rasnt-1 [193.114.228.211]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id VAA02032; Tue, 25 May 1999 21:06:41 +0100 Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id VAA00345; Tue, 25 May 1999 21:05:26 +0100 (BST) (envelope-from marko) Date: Tue, 25 May 1999 21:05:26 +0100 From: Mark Ovens To: Eduardo Viruena Silva Cc: freebsd-questions@freebsd.org Subject: Re: replace in vi... Message-ID: <19990525210526.A277@marder-1> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Eduardo Viruena Silva on Tue, May 25, 1999 at 02:21:09PM -0500 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, May 25, 1999 at 02:21:09PM -0500, Eduardo Viruena Silva wrote: > > ehem... > > I'm using "vi" and I would like to know how to replace > character '\0xb4' by character '\'' in all my text. > [I mean, character which has code: 0xb4 = 0264 = 148 > by apostrophe] > :%s/^Xb4/'/g where ``^X'' is typed as Ctrl-X. When you've typed the 4 it will appear as: :%s/\xb4/'/g HTH > any ideas? > ______ _ > * / /###\ / \ __ > /\ /\ * / ./#### \ * \__|_/ | | > / \/ \ | b#####| * _ | __ | | __ > = .. \____ \ \_\#####/ / \| / \ | | /\_\/ > = \_| * \___\###/ * \_/\_/\__/\__\/_/\__/ > = \______/ _ > | | > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message