From owner-freebsd-questions Tue May 25 13: 0:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from revolution.3-cities.com (revolution.3-cities.com [204.203.224.155]) by hub.freebsd.org (Postfix) with ESMTP id CA66F152CA for ; Tue, 25 May 1999 13:00:27 -0700 (PDT) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (kenn2190.bossig.com [208.26.242.190]) by revolution.3-cities.com (8.9.3/8.9.3) with ESMTP id NAA09484; Tue, 25 May 1999 13:00:07 -0700 (PDT) Message-ID: <374B0143.BA408940@3-cities.com> Date: Tue, 25 May 1999 13:00:03 -0700 From: Kent Stewart Organization: BOSSig X-Mailer: Mozilla 4.51 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Eduardo Viruena Silva , freebsd-questions@freebsd.org Subject: Re: replace in vi... References: <374B0006.1E7D48E@3-cities.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kent Stewart wrote: > > 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] I forgot to tell you that a 148 is a 0x94 and not a 0xb4. Kent > > What I did was the following > > .,$s/^V+180/'/ > > The control V allows you to enter a special character and holding the > key down and pressing 180, enters your 0xb4. If you have more > than one occurance on a line, you will need to add a "g" at the end > after then last "/". I'm not on my FreeBSD system and it matters which > key you use. > > Kent > > > > > any ideas? > > ______ _ > > * / /###\ / \ __ > > /\ /\ * / ./#### \ * \__|_/ | | > > / \/ \ | b#####| * _ | __ | | __ > > = .. \____ \ \_\#####/ / \| / \ | | /\_\/ > > = \_| * \___\###/ * \_/\_/\__/\__\/_/\__/ > > = \______/ _ > > | | > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > -- > Kent Stewart > Richland, WA > > mailto:kstewart@3-cities.com > http://www.3-cities.com/~kstewart/index.html > > SETI (Search for Extraterrestrial Intelligence) @ Home > http://setiathome.ssl.berkeley.edu/ -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html SETI (Search for Extraterrestrial Intelligence) @ Home http://setiathome.ssl.berkeley.edu/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message