Thursday, 10 November 2005

Convert the entire file's case in VI

Using Vi editor you can convert the entire file to (U) uppercase or
(L) lowercase with the following command.

open the file in Vi and at Vi's command propmt type:

%s/.*/\L&/