>>>>> "J" == Jasel17212  <[email protected]> writes:

J> Is there a shorthand way to write the following query?

J> ledger reg ^exp and expr "has_meta('tag1')" or ^exp and expr
J> "has_meta('tag2')"

You may need to escape it from your shell, but this should do it:

    ledger reg ^exp & (%tag1 | %tag2)

J> ledger reg ^exp and expr "has_meta('tag1')" or ^exp and expr
J> "has_meta('tag2')" --group-by ????

--group-by tag('tag1')

John

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/m2edr1m32k.fsf%40newartisans.com.

Reply via email to