Article View: comp.unix
Article #582Changing upper/lower case strings
From: Mario Dona
Date: Thu, 30 Mar 1989 02:28
Date: Thu, 30 Mar 1989 02:28
7 lines
839 bytes
839 bytes
Does anyone know if vi can change a word from uppercase to lowercase (or vice-versa) with one command? I know that placing the cursor under a character and typing the tilde (~) changes the character's case, but I can't figure out a way of doing that with a word. I suppose there must be a way of applying that command to a string that is delimited by a space character. Any help would be appreciated.
Technical Details
Message-ID:
<911@altos86.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!voder!pyramid!nsc!icldata!altnet!altos86!dtynanShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!voder!pyramid!nsc!icldata!altnet!altos86!dtynan From: mario@wjvax.UUCP (Mario Dona) Newsgroups: comp.unix Subject: Changing upper/lower case strings Message-ID: <911@altos86.UUCP> Date: 30 Mar 89 02:28:28 GMT Sender: dtynan@altos86.UUCP Organization: Watkins-Johnson Co., San Jose Lines: 7 Approved: dtynan@zorba.Tynan.COM