Oracle Technology Blog

OraTech Blog provides tips,tricks,scripts and how-to type answers for Oracle related technologies. I use these commands very often, so I thought it would be useful to share with everybody. Please feel free to include your comments/corrections/questions.

Tuesday, May 30, 2006

Unix : Vi Editor - Convert Upper to Lower Case & Vice Versa

Convert from Uppercase to Lowercase
===================================
1)Open vi
2)Shift Colon
:%s/.*$/\L&

Convert from Uppercase to Uppercase
===================================
1)Open vi
2)Shift Colon
:%s/.*$/\U&

0 Comments:

Post a Comment

<< Home