How to Delete Empty Lines in Files Using Grep, Sed, and Awk

Posted by tecmint on Aug 14, 2021 8:12 AM EDT
LinuxShellTips; By Ravi Saive
Mail this story
Print this story

An experienced Linux user knows exactly what kind of a nuisance blank lines can be in a processable file. These empty/blank lines not only get in the way of correctly processing such files but also make it difficult for a running program to read and write the file.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.