Initial field not allowed to be empty in field description #178

uu1101 opened this Issue Apr 26, 2014 · 1 comment


None yet

2 participants

uu1101 commented Apr 26, 2014

When specifying the fields for a CSV rules file, some of the fields are to be ignored. Leaving the field empty in the fields specification works, except for the first field. For example:

fields ,,date,description,amount

throws an error (included at the end), but

fields _,,date,description,amount


In my view, the way to specify fields to be ignored should be made more consistent. Additionally, some hint should be added to the manual in that regard.

The error message is the following:

using conversion rules file .../9991.csv.rules
hledger: user error (".../9991.csv.rules" (line 15, column 8):
unexpected ","
expecting "\"")
uu1101 commented May 11, 2014

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment