Deleting Blank Lines Using AWK


/ Published in: Bash
Save to your folder(s)

Create a copy of a text file with blank lines removed.


Copy this code and paste it in your HTML
  1. cat /tmp/test | awk 'NF > 0' > /tmp/test1

URL: http://www.sap-basis-abap.com/unix/deleting-blank-lines-using-awk.htm

Report this snippet


Comments


You need to login to view comments.