Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sed remove empty lines

sed '/^$/d' /tmp/data.txt
 
PREVIOUS NEXT
Tagged: #sed #remove #empty #lines
ADD COMMENT
Topic
Name
7+5 =