vi case-change question

Rich Holloway rich at gtx.com
Sat Jul 1 08:43:36 AEST 1989


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
upper to lower from the cursor to the end of line.  For example,

	FOOBAR	 DS.L 3 	TABLE OF THREE FOO LONG WORDS

I'd like to be able to put the cursor at the beginning of "TABLE", enter
some non-shell-escape command (if possible) and get the line:

	FOOBAR	 DS.L 3 	table of three foo long words

Any ideas?

Comments such as "get a REAL editor" and "use emacs instead" will be met
with rotten tomatoes, as these are not options.

E-mailed responses welcome, I'll summarize if there's interest.

Merci d'avance,
  rich

-- 
Richard L. Holloway	...!sun!sunburn!gtx!rich      
GTX Corporation,        Phoenix, Arizona  



More information about the Comp.unix.questions mailing list