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


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.