mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 10:17:35 +03:00
;doc: queries: fix formatting
This commit is contained in:
parent
b67cb97fff
commit
1591939074
@ -1070,6 +1070,7 @@ This makes certain queries hard to express, but here are some tricks that can he
|
||||
|
||||
1. Use a doubled `not:` prefix.
|
||||
Eg, to print only the food expenses paid with cash:
|
||||
|
||||
```shell
|
||||
$ hledger print food not:not:cash
|
||||
```
|
||||
@ -1077,6 +1078,7 @@ This makes certain queries hard to express, but here are some tricks that can he
|
||||
2. Or pre-filter the transactions with `print`,
|
||||
piping the result into a second hledger command
|
||||
(with balance assertions disabled):
|
||||
|
||||
```shell
|
||||
$ hledger print cash | hledger -f- -I balance food
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user