@smallexample ; This is a single line comment, # and this, % and this, | and this, * and this. # Provides ledger balance until the month of "i.e. August" # aug could be replaced by any prefix for monthly calendar. # ledger bal -f YOURFILENAME --period "until aug" # Provides a balance of account type "i.e. assets, expenses" ledger -f YOURFILENAME balance assets:checking ledger -f YOURFILENAME register expenses:food # See account subtotals for any postings related to a specific fund @smallexample ledger --code-as-payee -P reg ^Assets @end smallexample # Or to see a particular funds expenses, the @samp{School} fund in this case @smallexample ledger --code-as-payee -P reg ^Expenses @@School @end smallexample