Reform Lines in File without blank lines and spaces

view full story

http://www.unix.com – Hello All, I have a file with data as below. Each line consists of 21 fields. I am not able to load them back to the database. Code: 50733339,"834","834            ","005010X279A1","N","Y","007977163","0001      ",30,"2110D ","EB  ","EB007 ","2    ","Conditional Required Data Element Miss ing ",,"REJ            ",,"8    ","Segment has Data Elemen (HowTos)