On Fri, May 29, 2009 at 5:25 AM, Phil Dawes <p...@phildawes.net> wrote:
> So something like:
>
> : file>csv ( path/descriptor -- csv )
> : csv ( stream/descriptor -- csv )
> : csv-row ( descriptor -- csv )
> : csv>file ( rows path/descriptor encoding -- )
> : write-row ( row descriptor -- )
> : write-csv ( rows stream/descriptor -- )
>

Last night I was continuing to work on my little project and
discovered that csv _wasn't_ what I needed, as my data was riddled
with quotes. Turned out what I really needed was:

file-lines [ "\t" split ] map

Or something I can't remember exactly. I hadn't until last night
realized I was completely over thinking what I needed.

--
Darrin

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to