From: Larry W. V. <lv...@gm...> - 2012-05-02 14:37:13
|
On Wed, May 2, 2012 at 10:23 AM, Larry W. Virden <lv...@gm...> wrote: > > > set l [csv::split $next "\;"] > # puts stderr "list is $l" > > Okay, the csv::split looks to be my problem. For instance, I have a record that is 1;2;3;4;"a b c d e f g h i j k l m" This should be a list of 3 elements {{a b c} {d e f} {g h i} {j k l}} Instead, what I get is: 1 2 3 4 {a b cd e fg h i jk l m} In my tclsh 8.6 environment, when I do a package require csv I get back 0.7.3 HOWEVER, I downloaded and installed the latest tcllib on ftp.tcl.tk ... Is this a fundamental problem with csv::split or do I need some sort of special flag or something? |