Windows DatabaseebooksStatistical Information

LLE10266 : Howto change a whole file to uppercase or lowercase with vim

Symptom:

You need to create a file with just lower or uppercase

Cause:

none

Solution:

With vim you can do almost everything but sometimes you need to search a bit around.

To convert a whole text to lowercase you can use:

:%s/.*/\L&/

For converting to uppercase you use:

:%s/.*/\U&/

Hope this helped you.

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2011 Lubby (V3.0.10 Aug 2011)
Sponsored by Keskon.
Statistical information by Google Analytics