correct payee regex flag is @ or 'payee'
This commit is contained in:
parent
bc35c6c07c
commit
d04ed9bf59
1 changed files with 18 additions and 2 deletions
|
|
@ -403,6 +403,18 @@ $ ledger -f drewr3.dat balance Groceries
|
||||||
$ 334.00 Expenses:Food:Groceries
|
$ 334.00 Expenses:Food:Groceries
|
||||||
@end smallexample
|
@end smallexample
|
||||||
|
|
||||||
|
@noindent If you would like to find transaction to only a certain payee use @samp{payee} or @@:
|
||||||
|
@smallexample
|
||||||
|
$ ledger -f drewr3.dat register payee "Organic"
|
||||||
|
10-Dec-20 Organic Co-op Expense:Food:Groceries $ 37.50 $ 37.50
|
||||||
|
Expense:Food:Groceries $ 37.50 $ 75.00
|
||||||
|
Expense:Food:Groceries $ 37.50 $ 112.50
|
||||||
|
Expense:Food:Groceries $ 37.50 $ 150.00
|
||||||
|
Expense:Food:Groceries $ 37.50 $ 187.50
|
||||||
|
Expense:Food:Groceries $ 37.50 $ 225.00
|
||||||
|
Assets:Checking $ -225.00 0
|
||||||
|
@end smallexample
|
||||||
|
|
||||||
@node Cleared Report, , Register Report, Run Some Reports
|
@node Cleared Report, , Register Report, Run Some Reports
|
||||||
@subsection Cleared Report
|
@subsection Cleared Report
|
||||||
|
|
||||||
|
|
@ -1630,12 +1642,16 @@ meaning, described below.
|
||||||
|
|
||||||
The regular expressions arguments always match the account name that a
|
The regular expressions arguments always match the account name that a
|
||||||
posting refers to. To match on the payee of the transaction instead,
|
posting refers to. To match on the payee of the transaction instead,
|
||||||
precede the regular expression with @samp{--}. For example, the
|
precede the regular expression with @samp{payee} or @@. For example, the
|
||||||
following balance command reports account totals for rent, food and
|
following balance command reports account totals for rent, food and
|
||||||
movies, but only those whose payee matches Freddie:
|
movies, but only those whose payee matches Freddie:
|
||||||
|
|
||||||
@smallexample
|
@smallexample
|
||||||
ledger bal rent food movies -- freddie
|
ledger bal rent food movies payee freddie
|
||||||
|
@end smallexample
|
||||||
|
@noindent or
|
||||||
|
@smallexample
|
||||||
|
ledger bal rent food movies @freddie
|
||||||
@end smallexample
|
@end smallexample
|
||||||
|
|
||||||
There are many, many command options available with the
|
There are many, many command options available with the
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue