need to concatenate two lines if the line doesnt end with quotes
I am getting a source file where the columns are seperated by comma and double Quotes
Eg1 : "AAA","BBB","CCCC"
in the same source file i am also getting few lines where my last columns double quotes are ending in its next line or the next next line
I need to concatenate all such lines( shown in Eg2) and make it in to single line (as shown in Eg1)
Can any one please help me in this regard.How can this be acheived through unix