What is the correct way to print the value of a tag in a report? For data: 2021/02/09 payname ; num: 1 Asset:Account $5.00 Expense:Account
2021/02/08 otherpay ; num: 2 Liability:Account $150.00 Income:Account How do I print the value of num in the report? When trying reg --format " %(num) \\n" I get this error message: While calculating format expression: num While evaluating value expression: num ^^^ While handling posting from " \Data\exam1.ledger", line 87: > od $100 > ; As > 2021/02/09 payname > Error: Unknown identifier 'num' With the command: reg --format " %num \\n" I get: Error: Unrecognized formatting character: n -- --- 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/823b6467-1cfa-45f9-9d55-cbedf544c543n%40googlegroups.com.
