Shell/Bash: sed remove empty lines Example

By

Shell/Bash Example: This is the "sed remove empty lines" Example. compiled from many sources on the internet by SimpleTutorials.org

sed remove empty lines

sed '/^$/d' /tmp/data.txt


* Summary: This "sed remove empty lines" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others