Thursday, September 18, 2025

Convert all contents in a file to lower case using vim

Open your file in vi
vi myfile
Press the escape key to enter interactive mode, then type
:%s/.*/\L&/
Press escape, then save + exit the editor:
:wq

No comments:

Post a Comment