Simon Michael
Simon Michael
The usual way is with a pipe, something like: `hledger print salary | hledger -f - balance'
Yep this is quite a common pattern with hledger for more powerful filtering. Probably it should be mentioned in the manual (under QUERIES ?)
In that situation I add -I.
amigalemming commented 3 days ago: > In #1246 Simon proposes "real boolean queries". This ticket may discuss the details. > Shall boolean queries try to be compatible with the current...
What's needed here: I believe megaparsec used to provide special support for parsing "boolean expressions", meaning that implementing this would only require a small amount of coding in hledger. I...
Yes, Ledger queries are better documented in --help. Here's that for reference: ``` QUERIES The syntax for reporting queries can get somewhat complex. It is a series of query terms...
@isabekov lovely blog post, thanks! I will try to work through it myself. I'm finding the "Let's say you want to display all transactions that fulfill the following conditions" section...
Could you say a little more about how/why you are using diff ? I am inexperienced with it. For the record, since unclear in docs, the current CLI is hledger...
@tbm thanks for these. It says "mostly", which I figured gave enough wiggle room. It could be made more informative. But where do you think is best: - https://hledger.org/faq.html#journal-format is...
PS, the advantage of putting it in the manuals of course is that it'll be available wherever folks are using man or info, including offline. And it'll be nearer to...