Remove Empty Lines

Tagged with: , , , , , , ,

Remove empty lines from a file using sed


sed '/^$/d' file.txt

Original Article

Leave a Reply