Friday, January 28, 2011

Remove empty lines from a file

Use awk to strip a file of empty line. Do it with

  awk ‘NF>0′ < text_file    

No comments:

Post a Comment