Mostly because my credit union is brain dead in other ways. They
report the transaction type and payee inconsistently split across two
fields. I would have to hack up anything else anyway so why not
reinvent a wheel.

On Thu, Jul 28, 2011 at 19:05, Matthew Palmer <[email protected]> wrote:
> On Thu, Jul 28, 2011 at 06:42:34PM -0700, Craig Earls wrote:
>> My credit union mercifully supports CSV export.  I was writing a
>> parser for it when I discovered that they actually allow commas inside
>> data fields ("Jun. 27, 2011" was in a memo field).  That means I have
>> to increase the IQ of my parser by a larger amount than I want to
>> hassle with right now.  Are most of the banks this brain dead, or am I
>> just lucky?
>
> It's a fundamental limitation of the CSV format, and one of the many
> entertaining things that you have to deal with if you're parsing CSV.  Why
> are you writing your own CSV parser, though?  There are plenty of useful
> ready-made ones, including the one used in the already-existent "csv2ledger"
> script, which might be a useful starting point for your own work.
>
> - Matt
>
>



-- 
Craig, Corona De Tucson, AZ
2008 Brunton Super Stalker
1989 BMW K75 Hannigan
enderw88.wordpress.com

Reply via email to