Delete blank lines in a file

view full story

http://www.unix.com – Hi All, I have a file and I need to delete the lines that are blank and is starting with some characters below. Something like below: Code: Regular Ascii File: Line1:  AGODA1        BUSAN||SK        Lord Beach        4/6/2012        4/7/2012        68060 Line2:  AGODA2        BUSAN||SK        Beach Hotel        4/6/2012        4/7/2012        610200 Line3:  Skahds4 (HowTos)