Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

vim remove line by pattern from all files

" To delete empty lines or lines with white spaces (s)
:g/^s*$/d
Source by kifarunix.com #
 
PREVIOUS NEXT
Tagged: #vim #remove #line #pattern #files
ADD COMMENT
Topic
Name
5+9 =