Date: Tue, 25 May 1999 13:00:03 -0700 From: Kent Stewart <kstewart@3-cities.com> To: Eduardo Viruena Silva <mrspock@esfm.ipn.mx>, freebsd-questions@freebsd.org Subject: Re: replace in vi... Message-ID: <374B0143.BA408940@3-cities.com> References: <Pine.BSF.4.05.9905251415490.8692-100000@Michelle.esfm.ipn.mx> <374B0006.1E7D48E@3-cities.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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<alt>+180/'/<cr> > > The control V allows you to enter a special character and holding the > <alt> 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 > <alt>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?374B0143.BA408940>