Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bionet!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!kth!draken!bmc1!kuling!irf From: irf@kuling.UUCP (Bo Thide') Newsgroups: comp.unix.questions Subject: Re: vi case-change question Keywords: case change kiwi Message-ID: <1038@kuling.UUCP> Date: 1 Jul 89 20:07:38 GMT References: <1055@gtx.com> Reply-To: irf@kuling.UUCP (Bo Thide') Organization: Dept. of Computer Systems, Uppsala University, Sweden Lines: 21 In article <1055@gtx.com> rich@gtx.com (Rich Holloway) writes: > >In vi, I would like to use the '~' operation on more than one character >at a time, but don't really want to take on the overhead of shelling out >to "tr" or somesuch. To wit, what I would like is a way to convert > [deleted] There are alternatives to using '~' in vi: :s//\U& will change to upper case :s//\L& will change to lower case Quite useful sometimes. Perhaps for you too?/ ^ Bo Thide'-------------------------------------------------------------- | | Swedish Institute of Space Physics, S-755 91 Uppsala, Sweden |I| [In Swedish: Institutet f|r RymdFysik, Uppsalaavdelningen (IRFU)] |R| Phone: (+46) 18-403000. Telex: 76036 (IRFUPP S). Fax: (+46) 18-403100 /|F|\ INTERNET: bt@irfu.se UUCP: ...!uunet!sunic!irfu!bt ~~U~~ -----------------------------------------------------------------sm5dfw