On Tue, 25 Feb 2020 at 00:52, John Wiegley <[email protected]> wrote:
>
> Ah, I see, print prints the whole transaction, which does not allow you to
> omit specific postings from it.

Omitting specific postings from transactions would not make sense
except in specific circumstances, as the transaction would not
balance.

As far as I understand, the OP is asking about omitting the whole
transaction if any of its postings matches a condition. This can be
accomplished with:

    $ ledger print expr 'not any(account =~ /^Account:Particular$/)'

-- 

--- 
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/CAP_d_8UxdKUYChBm%3DdabuUC5O78iEC%3DFMg%2B_Un-OGK6uUJNozA%40mail.gmail.com.

Reply via email to