Tag Archives: delete empty lines

How to delete empty lines in a text file in linux/unix

To delete blank lines in a text file, you can use awk NF variable, awk regular expression, sed regular expression and grep -v ‘^$’ Continue reading

Posted in How to, Awk Command, Sed Command, Text Processing | Tagged , , , | Comments Off on How to delete empty lines in a text file in linux/unix