/ Published in: Bash
Create a copy of a text file with blank lines removed.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
cat /tmp/test | awk 'NF > 0' > /tmp/test1
URL: http://www.sap-basis-abap.com/unix/deleting-blank-lines-using-awk.htm