Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux remove empty lines

sed -i '/^$/d' [file_name]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #linux #remove #empty #lines
ADD COMMENT
Topic
Name
2+2 =