Actually, that gave me a strange output, it didn't totalise the accounts. However, switching to this got what I was after:
ledger reg -M --period "this month" ^expenses --format "%(account), %(quantity(amount)), %(commodity(amount)) \n" -l "commodity=~/USD/" -- --- 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.
