Quantcast
Channel: nixCraft
Viewing all articles
Browse latest Browse all 19

Howto delete empty lines using sed command under Linux / UNIX

$
0
0
Q. I need to delete all empty lines but could not figure out sed command for the same? How do I delete all empty lines with sed? A. sed is a stream editor and perfect for these kind of work. You need to use d command under sed which is act as the delete function. [...]

Read answer to: "Howto delete empty lines using sed command under Linux / UNIX"

Tweet this    Share on Facebook


Viewing all articles
Browse latest Browse all 19

Trending Articles