3

Given a ledger-cli entry like

2017-11-30 * Terrace door ; :share:
    Expenses:Housing:Fixed                    719.06
    Assets:Bank:Checking Account

what would an automated transaction / transaction pattern match look like that

  • identifies that the account Expenses:Housing:* is involved and
  • the transaction uses the tag :share: ?
Chris W. Rea
  • 31,999
  • 17
  • 103
  • 191
JohnDoe
  • 133
  • 4

1 Answers1

4

Just combine both conditions with &

= /Expenses:Housing:/ & tag("share")

But also make sure you have two or more spaces before your tag comment:

2017-11-30 * Terrace door       ; :share:
    Expenses:Housing:Fixed                    719.06
    Assets:Bank:Checking Account
ledgercli
  • 56
  • 1