Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

shell remove consecutive newline

# remove blank lines
# technically, remove the extra repeated consecutive newlines (

 -> 
)
sed  '/^$/d'
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #shell #remove #consecutive #newline
ADD COMMENT
Topic
Name
5+1 =