How do I fix a distorted text
Hello
I am having some problem with my datatable file that I have imported. It was supposed to be tab-separated, however it turned out to be somewhat distorted. For lines in the file got broken inbetween. Now I need to join them back. May I know how I can do it with a AWK or SED or unix.
I would be most grateful if you could help me out here.
my table looks like this:
n-1,"b2172
",NULL,NULL,351,624,360,632,NULL,NULL,37,85,36,84,yes
n-2,"b2716
",NULL,NULL,350,577,343,553,NULL,NULL,37,83,35,82,yes
n-3,"b2980
",NULL,NULL,449,712,431,687,NULL,NULL,37,82,35,82,yes
output should look like this:
n-1,"b2172",NULL,NULL,351,624,360,632,NULL,NULL,37,85,36,84,yes
n-2,"b2716",NULL,NULL,350,577,343,553,NULL,NULL,37,83,35,82,yes
n-3,"b2980",NULL,NULL,449,712,431,687,NULL,NULL,37,82,35,82,yes
Thank you .
greenhorn