On 1 October 2012 05:31, thierry <[email protected]> wrote: > Hi, > > 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 two files have CSV format, first column is regexp, and second is account > or payee. What bother me is that I have to change the regexp in both files. > I would propose to have a single CSV file with 3 columns > regexp,account,payee, (and if needed a variable in config file to use only > one column or the other). Thanks for any feedback. > I completely agree. They should be merged into one file.
Also what would be nice is program which read the resulting merged file and looked for rows which had the same payee and account and tried to generalize the original payee. For example "VISA-Payee Receipt No(123)" "VISA-Payee Receipt No(3123)" could be generalized to the following regex /VISA-Payee Receipt No([0-9]*)/ Pete
