in reply to Re^4: The best way to split tab delimited file
in thread The best way to split tab delimited file
So in addition to ignoring a tab after a comma, you also want to ignore tabs within quoted strings. This revises the original spec just a bit.
Do you really require both of these things? Or is the real requirement only the latter (ignore tabs within strings), and the original example just happened to have been derived from a string with a comma-tab?
Also, I get this output, different from yours. (no tab after 'ta') (And you have a comma-tab, just before 'rug', that you do want to split.)
474627 asidase ta sidase ala,"lpha-D- ctoside gtohydrolase","razyme","arazyme (enz Corp)","Melie","lagal","idase bta", rug 00103
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: The best way to split tab delimited file
by Ratna_Ranjan (Novice) on Nov 23, 2009 at 19:12 UTC | |
by gmargo (Hermit) on Nov 23, 2009 at 19:20 UTC | |
by Ratna_Ranjan (Novice) on Nov 24, 2009 at 23:25 UTC |