$archiver NSKeyedArchiver $objects $null $class CF$UID 37 NS.objects CF$UID 2 $class CF$UID 33 NS.keys CF$UID 3 CF$UID 4 CF$UID 5 NS.objects CF$UID 6 CF$UID 7 CF$UID 35 Title Text Date Untitled Snapshot $class CF$UID 34 NSAttributes CF$UID 10 NSDelegate CF$UID 0 NSString CF$UID 8 $class CF$UID 9 NS.string @c -c, --current show only current and past transactions (not future) @option{--current}(@option{-c}) displays transactions occurring on or before the current date. Any transaction recorded for a future date will be ignored, as if it had not been seen. This is useful if you happen to pre-record transactions, but still wish to view your balances in terms of what is available today. @c -b, --begin DATE set report begin date @c -e, --end DATE set report end date @option{--begin DATE} (@option{-b DATE}) limits the report to only those transactions occurring on or after @var{DATE}. The running total in the register will start at zero with the first posting, even if there are earlier transactions. To limit the display only, but still add earlier postings to the running total, use the display expression @samp{-d 'd>=[DATE]'}): @example ledger --basis -b may -d 'd>=[5/14]' reg ^assets @end example Reports: @smallexample 2004/05/14 Pay day Assets:Bank:Checking $500.00 $3,000.00 2004/05/27 Credit card company Assets:Bank:Checking $-20.00 $2,980.00 @end smallexample In this example, the displayed postings start from @samp{5/14}, but the calculated total starts from the beginning of @samp{may}. @option{--end DATE} (@option{-e DATE}) states when reporting should end, both calculation and display. The ending date is inclusive. The @var{DATE} argument to the @option{-b} and @option{-e} options can be rather flexible. Assuming the current date to be November 15, 2004, then all of the following are equivalent: @example ledger -b oct bal ledger -b "this oct" bal ledger -b 2004/10 bal ledger -b 10 bal ledger -b last bal ledger -b "last month" bal @end example @c -p, --period STR report using the given period @c --period-sort EXPR sort each report period's transactions by EXPR To constrain the report to a specific time period, use @option{--period} (@option{-p}). A time period may have both a beginning and an end, or neither, as well as a specified interval. Here are a few examples: @example ledger -p 2004 bal ledger -p august bal ledger -p "from aug to oct" bal ledger -p "daily from 8/1 to 8/15" bal ledger -p "weekly since august" bal ledger -p "monthly from feb to oct" bal ledger -p "quarterly in 2004" bal ledger -p yearly bal @end example See @ref{Period expressions} for more on syntax. Also, all of the options @option{-b}, @option{-e} and @option{-p} may be used together, but whatever information occurs last takes priority. An example of such usage (in a script, perhaps) would be: @example ledger -b 2004 -e 2005 -p monthly reg ^expenses @end example This command is identical to: @example ledger -p "monthly in 2004" reg ^expenses @end example The postings within a period may be sorted using @option{--period-sort}, which takes a value expression. This is similar to the @option{--sort} option, except that it sorts within each period transaction, rather than sorting all postings in the report. See the documentation on @option{--sort} below for more details. $classes NSMutableString NSString NSObject $classname NSMutableString $class CF$UID 33 NS.keys CF$UID 11 CF$UID 12 NS.objects CF$UID 13 CF$UID 30 NSParagraphStyle NSFont $class CF$UID 29 NSAlignment 4 NSLineHeightMultiple 1.1000000238418579 NSTabStops CF$UID 14 $class CF$UID 28 NS.objects CF$UID 15 CF$UID 17 CF$UID 18 CF$UID 19 CF$UID 20 CF$UID 21 CF$UID 22 CF$UID 23 CF$UID 24 CF$UID 25 CF$UID 26 CF$UID 27 $class CF$UID 16 NSLocation 28 $classes NSTextTab NSObject $classname NSTextTab $class CF$UID 16 NSLocation 56 $class CF$UID 16 NSLocation 84 $class CF$UID 16 NSLocation 112 $class CF$UID 16 NSLocation 140 $class CF$UID 16 NSLocation 168 $class CF$UID 16 NSLocation 196 $class CF$UID 16 NSLocation 224 $class CF$UID 16 NSLocation 252 $class CF$UID 16 NSLocation 280 $class CF$UID 16 NSLocation 308 $class CF$UID 16 NSLocation 336 $classes NSArray NSObject $classname NSArray $classes NSParagraphStyle NSObject $classname NSParagraphStyle $class CF$UID 32 NSName CF$UID 31 NSSize 14 NSfFlags 16 Courier $classes NSFont NSObject $classname NSFont $classes NSDictionary NSObject $classname NSDictionary $classes KBWordCountingTextStorage NSTextStorage NSMutableAttributedString NSAttributedString NSObject $classname KBWordCountingTextStorage $class CF$UID 36 NS.time 267380389.018765 $classes NSDate NSObject $classname NSDate $classes NSMutableArray NSArray NSObject $classname NSMutableArray $top Snapshots CF$UID 1 $version 100000