On Sun, Sep 30, 2012 at 10:29:17PM -0700, Zack Williams wrote:
> On Sun, Sep 30, 2012 at 12:31 PM, thierry <[email protected]> wrote:
> > I have another change to propose to icsv2ledger. Why is there an account
> > mapping file AND a payee mapping file? Why not merging into a single file?
>
> The rubycsv code I wrote does this.  Actually it has a generic
> "tablematch" function that can do an arbitrarily large number of regex
> mappings.   And it can do multi-entry transactions.  And it's not
> ledger-specific - it can do CSV to anything if that's a plus for
> anyone.
>
> The only downside compared to any of the other CSV programs is that
> it's not interactive, and you have to write the mapping tables as a
> ruby array.
>
> - Zack
>

Not to beat a dead horse further, but CSV2Ledger (my perl variant)
does the same thing. Dynamic renaming based on payee, account
matching, even file matching using a YAML format.

It's a common wheel to reinvent.

Best of luck.


------------------------------------------------------------------
Russell Adams                            [email protected]

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

Reply via email to