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