linux remove blank lines from file

To remove blank lines from a file on a unix or linux computer try this:

# grep -v "^$" filename > newfilename

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>