You could easly write a wrapper script that applies your renames to another
file and then runs your report on that.
Always generate & delete the intermediate file.

Beancount's approach would be different: A plugin would be used to rewrite
the account names in the transactions data structures directly.



On Sat, Jan 2, 2016 at 4:31 PM, Mark Scannell <[email protected]> wrote:

> Hello all --
>
> Is it possible to apply a regular expression to rename accounts?
>
> I have a complex structure of three account sets, all with
> Ass|Lia|Inc|Exp|Equ, and sub-categories in Assets (Current, Pension, and
> Fixed). I'd like to apply a regular expression to re-order the structure of
> the accounts for reporting purposes, without changing the underlying data.
>
> I know I can do this in the source data, but I'd rather not do that.
>
> Thanks!
>
> Mark
>
> --
>
> ---
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to