Let me preface this with the fact that I may be using period expressions 
completely wrong and this isn’t a bug at all.

I’ve read through section 8.4 of the 3.0 docs on Period Expressions 
(http://www.ledger-cli.org/3.0/doc/ledger3.html#Period-Expressions). My long 
goal is to display my budgeted transactions monthly for this month, last month, 
and next month (July, August, September). I would think that a ledger command 
like this:

ledger --period "from jul to sep” reg

Would at least display my register “from jul” [BEGIN] “to sep” [END], which may 
both be specified. The range is also sensible, so I feel like this should be 
accepted by the grammar. However, this expression causes ledger to return:

Error: Unexpected date period token ‘until'

This is true for ledger vesions Ledger 3.0.2-20140507 (home brew stable 
install) and 3.0.3-20140608 (home brew —from-HEAD install, so the master branch 
I’m assuming).

Am I totally missing something or is this a bug in the parser?

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to