Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

vim delete every other line

:1d|g/^/+d  # Every other odd line
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #vim #delete #line
ADD COMMENT
Topic
Name
4+6 =