diff options
author | Craig Earls <enderw88@gmail.com> | 2011-10-03 08:12:26 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2011-10-03 08:12:26 -0700 |
commit | d04ed9bf5929d55566f20987d534bf090596fddd (patch) | |
tree | a30362f8c75faa2c7dcb60c3001225362c152049 /doc | |
parent | bc35c6c07c62dea99a1b93b3704da5f8ca5023db (diff) | |
download | fork-ledger-d04ed9bf5929d55566f20987d534bf090596fddd.tar.gz fork-ledger-d04ed9bf5929d55566f20987d534bf090596fddd.tar.bz2 fork-ledger-d04ed9bf5929d55566f20987d534bf090596fddd.zip |
correct payee regex flag is @ or 'payee'
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Ledger3.texi | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/doc/Ledger3.texi b/doc/Ledger3.texi index d80dc57c..3d5ab570 100644 --- a/doc/Ledger3.texi +++ b/doc/Ledger3.texi @@ -403,6 +403,18 @@ $ ledger -f drewr3.dat balance Groceries $ 334.00 Expenses:Food:Groceries @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 @subsection Cleared Report @@ -1630,12 +1642,16 @@ meaning, described below. The regular expressions arguments always match the account name that a 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 movies, but only those whose payee matches Freddie: @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 There are many, many command options available with the |