Friday, January 8, 2010

Comment lines in vi

If you need to comment the next 10 lines within vi, execute the command within the command mode:

:.,+10s/^/#

No comments: