Notes related to http://hledger.org/manual#queries.
When query expressions aren’t expressive enough, it’s common practice to pipe two hledger commands together in a pipe. First a
Eg, which part of salary income went to checking ?
$ hledger print income:salary | hledger -f- balance assets:checking