0
votes
0
comments
2,759
views

Oneliners: Removing blank lines from a unix file

0 votes, 0.00 avg. rating (0% score)
Many of times I receive comma delimited files an they have blank lines after each record. I would like to use sed or awk. I need to remove all the blank lines from an input file and write into an output file.