vi case-change question
Bo Thide'
irf at kuling.UUCP
Sun Jul 2 06:07:38 AEST 1989
In article <1055 at gtx.com> rich at 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/<pattern>/\U& will change <pattern> to upper case
:s/<pattern>/\L& will change <pattern> 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 at irfu.se UUCP: ...!uunet!sunic!irfu!bt
~~U~~ -----------------------------------------------------------------sm5dfw
More information about the Comp.unix.questions
mailing list