;doc: update manuals

This commit is contained in:
Simon Michael 2021-08-08 10:07:44 -10:00
parent bfa2ac1dcf
commit b43a5263cb
3 changed files with 426 additions and 426 deletions

View File

@ -2898,19 +2898,19 @@ It can be useful for a cleaner display of reports with many commodities:
.IP .IP
.nf .nf
\f[C] \f[C]
$ hledger bal -T -Y $ hledger -f examples/bcexample.hledger bal assets:us:etrade -3 -T -Y
Balance changes in 2012-01-01..2014-12-31: Balance changes in 2012-01-01..2014-12-31:
|| 2012 2013 2014 Total || 2012 2013 2014 Total
==================++============================================================================================================================= ==================++===========================================================================================================================
Assets:US:ETrade || 10.00 ITOT, 337.18 USD, 2 more.. 70.00 GLD, 18.00 ITOT, 3 more.. -11.00 ITOT, 3 more.. 70.00 GLD, 17.00 ITOT, 3 more.. Assets:US:ETrade || 10.00 ITOT, 337.18 USD, 2 more.. 70.00 GLD, 18.00 ITOT, 3 more.. -11.00 ITOT, 3 more.. 70.00 GLD, 17.00 ITOT, 3 more..
------------------++----------------------------------------------------------------------------------------------------------------------------- ------------------++---------------------------------------------------------------------------------------------------------------------------
total || 10.00 ITOT, 337.18 USD, 2 more.. 70.00 GLD, 18.00 ITOT, 3 more.. -11.00 ITOT, 3 more.. 70.00 GLD, 17.00 ITOT, 3 more.. || 10.00 ITOT, 337.18 USD, 2 more.. 70.00 GLD, 18.00 ITOT, 3 more.. -11.00 ITOT, 3 more.. 70.00 GLD, 17.00 ITOT, 3 more..
$ hledger bal -T -Y --commodity-column $ hledger -f examples/bcexample.hledger bal assets:us:etrade -3 -T -Y --commodity-column
Balance changes in 2012-01-01..2014-12-31: Balance changes in 2012-01-01..2014-12-31:
|| Commodity 2012 2013 2014 Total || Commodity 2012 2013 2014 Total
==================++============================================= ==================++=============================================
Assets:US:ETrade || GLD 0 70.00 0 70.00 Assets:US:ETrade || GLD 0 70.00 0 70.00
Assets:US:ETrade || ITOT 10.00 18.00 -11.00 17.00 Assets:US:ETrade || ITOT 10.00 18.00 -11.00 17.00
@ -2931,12 +2931,12 @@ that is easier to consume, eg when making charts:
.IP .IP
.nf .nf
\f[C] \f[C]
$ hledger bal -T -O csv $ hledger -f examples/bcexample.hledger bal assets:us:etrade -3 -O csv
\[dq]account\[dq],\[dq]balance\[dq] \[dq]account\[dq],\[dq]balance\[dq]
\[dq]Assets:US:ETrade\[dq],\[dq]70.00 GLD, 17.00 ITOT, 5120.50 USD, 36.00 VEA, 294.00 VHT\[dq] \[dq]Assets:US:ETrade\[dq],\[dq]70.00 GLD, 17.00 ITOT, 5120.50 USD, 36.00 VEA, 294.00 VHT\[dq]
\[dq]total\[dq],\[dq]70.00 GLD, 17.00 ITOT, 5120.50 USD, 36.00 VEA, 294.00 VHT\[dq] \[dq]total\[dq],\[dq]70.00 GLD, 17.00 ITOT, 5120.50 USD, 36.00 VEA, 294.00 VHT\[dq]
$ hledger bal -T -O csv --commodity-column $ hledger -f examples/bcexample.hledger bal assets:us:etrade -3 -O csv --commodity-column
\[dq]account\[dq],\[dq]commodity\[dq],\[dq]balance\[dq] \[dq]account\[dq],\[dq]commodity\[dq],\[dq]balance\[dq]
\[dq]Assets:US:ETrade\[dq],\[dq]GLD\[dq],\[dq]70.00\[dq] \[dq]Assets:US:ETrade\[dq],\[dq]GLD\[dq],\[dq]70.00\[dq]
\[dq]Assets:US:ETrade\[dq],\[dq]ITOT\[dq],\[dq]17.00\[dq] \[dq]Assets:US:ETrade\[dq],\[dq]ITOT\[dq],\[dq]17.00\[dq]

View File

@ -2364,19 +2364,19 @@ report row will show amounts for a single commodity, using extra rows
when necessary. It can be useful for a cleaner display of reports with when necessary. It can be useful for a cleaner display of reports with
many commodities: many commodities:
$ hledger bal -T -Y $ hledger -f examples/bcexample.hledger bal assets:us:etrade -3 -T -Y
Balance changes in 2012-01-01..2014-12-31: Balance changes in 2012-01-01..2014-12-31:
|| 2012 2013 2014 Total || 2012 2013 2014 Total
==================++============================================================================================================================= ==================++===========================================================================================================================
Assets:US:ETrade || 10.00 ITOT, 337.18 USD, 2 more.. 70.00 GLD, 18.00 ITOT, 3 more.. -11.00 ITOT, 3 more.. 70.00 GLD, 17.00 ITOT, 3 more.. Assets:US:ETrade || 10.00 ITOT, 337.18 USD, 2 more.. 70.00 GLD, 18.00 ITOT, 3 more.. -11.00 ITOT, 3 more.. 70.00 GLD, 17.00 ITOT, 3 more..
------------------++----------------------------------------------------------------------------------------------------------------------------- ------------------++---------------------------------------------------------------------------------------------------------------------------
total || 10.00 ITOT, 337.18 USD, 2 more.. 70.00 GLD, 18.00 ITOT, 3 more.. -11.00 ITOT, 3 more.. 70.00 GLD, 17.00 ITOT, 3 more.. || 10.00 ITOT, 337.18 USD, 2 more.. 70.00 GLD, 18.00 ITOT, 3 more.. -11.00 ITOT, 3 more.. 70.00 GLD, 17.00 ITOT, 3 more..
$ hledger bal -T -Y --commodity-column $ hledger -f examples/bcexample.hledger bal assets:us:etrade -3 -T -Y --commodity-column
Balance changes in 2012-01-01..2014-12-31: Balance changes in 2012-01-01..2014-12-31:
|| Commodity 2012 2013 2014 Total || Commodity 2012 2013 2014 Total
==================++============================================= ==================++=============================================
Assets:US:ETrade || GLD 0 70.00 0 70.00 Assets:US:ETrade || GLD 0 70.00 0 70.00
Assets:US:ETrade || ITOT 10.00 18.00 -11.00 17.00 Assets:US:ETrade || ITOT 10.00 18.00 -11.00 17.00
@ -2393,12 +2393,12 @@ Balance changes in 2012-01-01..2014-12-31:
This flag also affects CSV output, which is useful for producing data This flag also affects CSV output, which is useful for producing data
that is easier to consume, eg when making charts: that is easier to consume, eg when making charts:
$ hledger bal -T -O csv $ hledger -f examples/bcexample.hledger bal assets:us:etrade -3 -O csv
"account","balance" "account","balance"
"Assets:US:ETrade","70.00 GLD, 17.00 ITOT, 5120.50 USD, 36.00 VEA, 294.00 VHT" "Assets:US:ETrade","70.00 GLD, 17.00 ITOT, 5120.50 USD, 36.00 VEA, 294.00 VHT"
"total","70.00 GLD, 17.00 ITOT, 5120.50 USD, 36.00 VEA, 294.00 VHT" "total","70.00 GLD, 17.00 ITOT, 5120.50 USD, 36.00 VEA, 294.00 VHT"
$ hledger bal -T -O csv --commodity-column $ hledger -f examples/bcexample.hledger bal assets:us:etrade -3 -O csv --commodity-column
"account","commodity","balance" "account","commodity","balance"
"Assets:US:ETrade","GLD","70.00" "Assets:US:ETrade","GLD","70.00"
"Assets:US:ETrade","ITOT","17.00" "Assets:US:ETrade","ITOT","17.00"
@ -8812,382 +8812,382 @@ Node: Multi-period balance report79268
Ref: #multi-period-balance-report79459 Ref: #multi-period-balance-report79459
Node: Commodity column81711 Node: Commodity column81711
Ref: #commodity-column81883 Ref: #commodity-column81883
Node: Sorting by amount84587 Node: Sorting by amount84784
Ref: #sorting-by-amount84745 Ref: #sorting-by-amount84942
Node: Percentages85415 Node: Percentages85612
Ref: #percentages85571 Ref: #percentages85768
Node: Balance change end balance86505 Node: Balance change end balance86702
Ref: #balance-change-end-balance86698 Ref: #balance-change-end-balance86895
Node: Balance report types88126 Node: Balance report types88323
Ref: #balance-report-types88316 Ref: #balance-report-types88513
Node: Useful balance reports92389 Node: Useful balance reports92586
Ref: #useful-balance-reports92570 Ref: #useful-balance-reports92767
Node: Budget report93655 Node: Budget report93852
Ref: #budget-report93839 Ref: #budget-report94036
Node: Budget report start date99114 Node: Budget report start date99311
Ref: #budget-report-start-date99292 Ref: #budget-report-start-date99489
Node: Budgets and subaccounts100624 Node: Budgets and subaccounts100821
Ref: #budgets-and-subaccounts100831 Ref: #budgets-and-subaccounts101028
Node: Selecting budget goals104271 Node: Selecting budget goals104468
Ref: #selecting-budget-goals104443 Ref: #selecting-budget-goals104640
Node: Customising single-period balance reports105477 Node: Customising single-period balance reports105674
Ref: #customising-single-period-balance-reports105686 Ref: #customising-single-period-balance-reports105883
Node: balancesheet107834 Node: balancesheet108031
Ref: #balancesheet107972 Ref: #balancesheet108169
Node: balancesheetequity109271 Node: balancesheetequity109468
Ref: #balancesheetequity109422 Ref: #balancesheetequity109619
Node: cashflow110802 Node: cashflow110999
Ref: #cashflow110926 Ref: #cashflow111123
Node: check112072 Node: check112269
Ref: #check112177 Ref: #check112374
Node: Basic checks112811 Node: Basic checks113008
Ref: #basic-checks112929 Ref: #basic-checks113126
Node: Strict checks113480 Node: Strict checks113677
Ref: #strict-checks113621 Ref: #strict-checks113818
Node: Other checks114057 Node: Other checks114254
Ref: #other-checks114197 Ref: #other-checks114394
Node: Custom checks114554 Node: Custom checks114751
Ref: #custom-checks114674 Ref: #custom-checks114871
Node: close115091 Node: close115288
Ref: #close115195 Ref: #close115392
Node: close and prices117286 Node: close and prices117483
Ref: #close-and-prices117415 Ref: #close-and-prices117612
Node: close date117810 Node: close date118007
Ref: #close-date117994 Ref: #close-date118191
Node: Example close asset/liability accounts for file transition118544 Node: Example close asset/liability accounts for file transition118741
Ref: #example-close-assetliability-accounts-for-file-transition118845 Ref: #example-close-assetliability-accounts-for-file-transition119042
Node: Hiding opening/closing transactions119704 Node: Hiding opening/closing transactions119901
Ref: #hiding-openingclosing-transactions119975 Ref: #hiding-openingclosing-transactions120172
Node: close and balance assertions121437 Node: close and balance assertions121634
Ref: #close-and-balance-assertions121695 Ref: #close-and-balance-assertions121892
Node: Example close revenue/expense accounts to retained earnings123049 Node: Example close revenue/expense accounts to retained earnings123246
Ref: #example-close-revenueexpense-accounts-to-retained-earnings123327 Ref: #example-close-revenueexpense-accounts-to-retained-earnings123524
Node: codes124039 Node: codes124236
Ref: #codes124149 Ref: #codes124346
Node: commodities124861 Node: commodities125058
Ref: #commodities124990 Ref: #commodities125187
Node: descriptions125072 Node: descriptions125269
Ref: #descriptions125202 Ref: #descriptions125399
Node: diff125506 Node: diff125703
Ref: #diff125614 Ref: #diff125811
Node: files126661 Node: files126858
Ref: #files126763 Ref: #files126960
Node: help126910 Node: help127107
Ref: #help127012 Ref: #help127209
Node: import127739 Node: import127936
Ref: #import127855 Ref: #import128052
Node: Deduplication128720 Node: Deduplication128917
Ref: #deduplication128845 Ref: #deduplication129042
Node: Import testing130739 Node: Import testing130936
Ref: #import-testing130904 Ref: #import-testing131101
Node: Importing balance assignments131392 Node: Importing balance assignments131589
Ref: #importing-balance-assignments131598 Ref: #importing-balance-assignments131795
Node: Commodity display styles132247 Node: Commodity display styles132444
Ref: #commodity-display-styles132420 Ref: #commodity-display-styles132617
Node: incomestatement132549 Node: incomestatement132746
Ref: #incomestatement132684 Ref: #incomestatement132881
Node: notes133989 Node: notes134186
Ref: #notes134104 Ref: #notes134301
Node: payees134472 Node: payees134669
Ref: #payees134580 Ref: #payees134777
Node: prices135106 Node: prices135303
Ref: #prices135214 Ref: #prices135411
Node: print135555 Node: print135752
Ref: #print135667 Ref: #print135864
Node: print-unique140982 Node: print-unique141179
Ref: #print-unique141110 Ref: #print-unique141307
Node: register141395 Node: register141592
Ref: #register141524 Ref: #register141721
Node: Custom register output145970 Node: Custom register output146167
Ref: #custom-register-output146101 Ref: #custom-register-output146298
Node: register-match147438 Node: register-match147635
Ref: #register-match147574 Ref: #register-match147771
Node: rewrite147925 Node: rewrite148122
Ref: #rewrite148042 Ref: #rewrite148239
Node: Re-write rules in a file149948 Node: Re-write rules in a file150145
Ref: #re-write-rules-in-a-file150111 Ref: #re-write-rules-in-a-file150308
Node: Diff output format151260 Node: Diff output format151457
Ref: #diff-output-format151443 Ref: #diff-output-format151640
Node: rewrite vs print --auto152535 Node: rewrite vs print --auto152732
Ref: #rewrite-vs.-print---auto152695 Ref: #rewrite-vs.-print---auto152892
Node: roi153251 Node: roi153448
Ref: #roi153351 Ref: #roi153548
Node: Spaces and special characters in --inv and --pnl155037 Node: Spaces and special characters in --inv and --pnl155234
Ref: #spaces-and-special-characters-in---inv-and---pnl155277 Ref: #spaces-and-special-characters-in---inv-and---pnl155474
Node: Semantics of --inv and --pnl155765 Node: Semantics of --inv and --pnl155962
Ref: #semantics-of---inv-and---pnl156004 Ref: #semantics-of---inv-and---pnl156201
Node: IRR and TWR explained157854 Node: IRR and TWR explained158051
Ref: #irr-and-twr-explained158014 Ref: #irr-and-twr-explained158211
Node: stats161082 Node: stats161279
Ref: #stats161183 Ref: #stats161380
Node: tags161971 Node: tags162168
Ref: #tags162071 Ref: #tags162268
Node: test162590 Node: test162787
Ref: #test162706 Ref: #test162903
Node: About add-on commands163453 Node: About add-on commands163650
Ref: #about-add-on-commands163590 Ref: #about-add-on-commands163787
Node: JOURNAL FORMAT164721 Node: JOURNAL FORMAT164918
Ref: #journal-format164849 Ref: #journal-format165046
Node: Transactions167045 Node: Transactions167242
Ref: #transactions167160 Ref: #transactions167357
Node: Dates168174 Node: Dates168371
Ref: #dates168290 Ref: #dates168487
Node: Simple dates168355 Node: Simple dates168552
Ref: #simple-dates168475 Ref: #simple-dates168672
Node: Secondary dates168984 Node: Secondary dates169181
Ref: #secondary-dates169132 Ref: #secondary-dates169329
Node: Posting dates170468 Node: Posting dates170665
Ref: #posting-dates170591 Ref: #posting-dates170788
Node: Status171963 Node: Status172160
Ref: #status172073 Ref: #status172270
Node: Code173781 Node: Code173978
Ref: #code173893 Ref: #code174090
Node: Description174125 Node: Description174322
Ref: #description174253 Ref: #description174450
Node: Payee and note174573 Node: Payee and note174770
Ref: #payee-and-note174681 Ref: #payee-and-note174878
Node: Comments175016 Node: Comments175213
Ref: #comments175138 Ref: #comments175335
Node: Tags176332 Node: Tags176529
Ref: #tags-1176443 Ref: #tags-1176640
Node: Postings177836 Node: Postings178033
Ref: #postings177960 Ref: #postings178157
Node: Virtual postings178986 Node: Virtual postings179183
Ref: #virtual-postings179097 Ref: #virtual-postings179294
Node: Account names180402 Node: Account names180599
Ref: #account-names180539 Ref: #account-names180736
Node: Amounts181027 Node: Amounts181224
Ref: #amounts181164 Ref: #amounts181361
Node: Decimal marks digit group marks182120 Node: Decimal marks digit group marks182317
Ref: #decimal-marks-digit-group-marks182297 Ref: #decimal-marks-digit-group-marks182494
Node: Commodity183169 Node: Commodity183366
Ref: #commodity183329 Ref: #commodity183526
Node: Commodity directives184281 Node: Commodity directives184478
Ref: #commodity-directives184455 Ref: #commodity-directives184652
Node: Commodity display style184942 Node: Commodity display style185139
Ref: #commodity-display-style185121 Ref: #commodity-display-style185318
Node: Rounding187229 Node: Rounding187426
Ref: #rounding187349 Ref: #rounding187546
Node: Transaction prices187761 Node: Transaction prices187958
Ref: #transaction-prices187927 Ref: #transaction-prices188124
Node: Lot prices lot dates190358 Node: Lot prices lot dates190555
Ref: #lot-prices-lot-dates190541 Ref: #lot-prices-lot-dates190738
Node: Balance assertions191029 Node: Balance assertions191226
Ref: #balance-assertions191207 Ref: #balance-assertions191404
Node: Assertions and ordering192240 Node: Assertions and ordering192437
Ref: #assertions-and-ordering192422 Ref: #assertions-and-ordering192619
Node: Assertions and included files193122 Node: Assertions and included files193319
Ref: #assertions-and-included-files193359 Ref: #assertions-and-included-files193556
Node: Assertions and multiple -f options193692 Node: Assertions and multiple -f options193889
Ref: #assertions-and-multiple--f-options193942 Ref: #assertions-and-multiple--f-options194139
Node: Assertions and commodities194074 Node: Assertions and commodities194271
Ref: #assertions-and-commodities194300 Ref: #assertions-and-commodities194497
Node: Assertions and prices195457 Node: Assertions and prices195654
Ref: #assertions-and-prices195665 Ref: #assertions-and-prices195862
Node: Assertions and subaccounts196105 Node: Assertions and subaccounts196302
Ref: #assertions-and-subaccounts196328 Ref: #assertions-and-subaccounts196525
Node: Assertions and virtual postings196652 Node: Assertions and virtual postings196849
Ref: #assertions-and-virtual-postings196888 Ref: #assertions-and-virtual-postings197085
Node: Assertions and precision197030 Node: Assertions and precision197227
Ref: #assertions-and-precision197217 Ref: #assertions-and-precision197414
Node: Balance assignments197484 Node: Balance assignments197681
Ref: #balance-assignments197654 Ref: #balance-assignments197851
Node: Balance assignments and prices198818 Node: Balance assignments and prices199015
Ref: #balance-assignments-and-prices198984 Ref: #balance-assignments-and-prices199181
Node: Directives199208 Node: Directives199405
Ref: #directives199371 Ref: #directives199568
Node: Directives and multiple files204725 Node: Directives and multiple files204922
Ref: #directives-and-multiple-files204921 Ref: #directives-and-multiple-files205118
Node: Comment blocks205585 Node: Comment blocks205782
Ref: #comment-blocks205762 Ref: #comment-blocks205959
Node: Including other files205938 Node: Including other files206135
Ref: #including-other-files206112 Ref: #including-other-files206309
Node: Default year207036 Node: Default year207233
Ref: #default-year207194 Ref: #default-year207391
Node: Declaring payees207601 Node: Declaring payees207798
Ref: #declaring-payees207767 Ref: #declaring-payees207964
Node: Declaring commodities208013 Node: Declaring commodities208210
Ref: #declaring-commodities208194 Ref: #declaring-commodities208391
Node: Commodity error checking210574 Node: Commodity error checking210771
Ref: #commodity-error-checking210724 Ref: #commodity-error-checking210921
Node: Default commodity210981 Node: Default commodity211178
Ref: #default-commodity211161 Ref: #default-commodity211358
Node: Declaring market prices212037 Node: Declaring market prices212234
Ref: #declaring-market-prices212226 Ref: #declaring-market-prices212423
Node: Declaring accounts213039 Node: Declaring accounts213236
Ref: #declaring-accounts213219 Ref: #declaring-accounts213416
Node: Account error checking214421 Node: Account error checking214618
Ref: #account-error-checking214587 Ref: #account-error-checking214784
Node: Account comments215766 Node: Account comments215963
Ref: #account-comments215950 Ref: #account-comments216147
Node: Account subdirectives216374 Node: Account subdirectives216571
Ref: #account-subdirectives216559 Ref: #account-subdirectives216756
Node: Account types216872 Node: Account types217069
Ref: #account-types217046 Ref: #account-types217243
Node: Declaring account types217782 Node: Declaring account types217979
Ref: #declaring-account-types217961 Ref: #declaring-account-types218158
Node: Auto-detected account types218611 Node: Auto-detected account types218808
Ref: #auto-detected-account-types218852 Ref: #auto-detected-account-types219049
Node: Interference from auto-detected account types219812 Node: Interference from auto-detected account types220009
Ref: #interference-from-auto-detected-account-types220089 Ref: #interference-from-auto-detected-account-types220286
Node: Old account type syntax220572 Node: Old account type syntax220769
Ref: #old-account-type-syntax220769 Ref: #old-account-type-syntax220966
Node: Account display order221069 Node: Account display order221266
Ref: #account-display-order221229 Ref: #account-display-order221426
Node: Rewriting accounts222380 Node: Rewriting accounts222577
Ref: #rewriting-accounts222559 Ref: #rewriting-accounts222756
Node: Basic aliases223316 Node: Basic aliases223513
Ref: #basic-aliases223452 Ref: #basic-aliases223649
Node: Regex aliases224196 Node: Regex aliases224393
Ref: #regex-aliases224358 Ref: #regex-aliases224555
Node: Combining aliases225077 Node: Combining aliases225274
Ref: #combining-aliases225260 Ref: #combining-aliases225457
Node: Aliases and multiple files226536 Node: Aliases and multiple files226733
Ref: #aliases-and-multiple-files226735 Ref: #aliases-and-multiple-files226932
Node: end aliases227314 Node: end aliases227511
Ref: #end-aliases227461 Ref: #end-aliases227658
Node: Default parent account227562 Node: Default parent account227759
Ref: #default-parent-account227752 Ref: #default-parent-account227949
Node: Periodic transactions228636 Node: Periodic transactions228833
Ref: #periodic-transactions228819 Ref: #periodic-transactions229016
Node: Periodic rule syntax230736 Node: Periodic rule syntax230933
Ref: #periodic-rule-syntax230936 Ref: #periodic-rule-syntax231133
Node: Two spaces between period expression and description!231640 Node: Two spaces between period expression and description!231837
Ref: #two-spaces-between-period-expression-and-description231953 Ref: #two-spaces-between-period-expression-and-description232150
Node: Forecasting with periodic transactions232637 Node: Forecasting with periodic transactions232834
Ref: #forecasting-with-periodic-transactions232936 Ref: #forecasting-with-periodic-transactions233133
Node: Budgeting with periodic transactions234991 Node: Budgeting with periodic transactions235188
Ref: #budgeting-with-periodic-transactions235224 Ref: #budgeting-with-periodic-transactions235421
Node: Auto postings235633 Node: Auto postings235830
Ref: #auto-postings235769 Ref: #auto-postings235966
Node: Auto postings and multiple files237948 Node: Auto postings and multiple files238145
Ref: #auto-postings-and-multiple-files238146 Ref: #auto-postings-and-multiple-files238343
Node: Auto postings and dates238355 Node: Auto postings and dates238552
Ref: #auto-postings-and-dates238623 Ref: #auto-postings-and-dates238820
Node: Auto postings and transaction balancing / inferred amounts / balance assertions238798 Node: Auto postings and transaction balancing / inferred amounts / balance assertions238995
Ref: #auto-postings-and-transaction-balancing-inferred-amounts-balance-assertions239143 Ref: #auto-postings-and-transaction-balancing-inferred-amounts-balance-assertions239340
Node: Auto posting tags239485 Node: Auto posting tags239682
Ref: #auto-posting-tags239694 Ref: #auto-posting-tags239891
Node: CSV FORMAT240330 Node: CSV FORMAT240527
Ref: #csv-format240458 Ref: #csv-format240655
Node: Examples243087 Node: Examples243284
Ref: #examples243190 Ref: #examples243387
Node: Basic243398 Node: Basic243595
Ref: #basic243500 Ref: #basic243697
Node: Bank of Ireland244042 Node: Bank of Ireland244239
Ref: #bank-of-ireland244179 Ref: #bank-of-ireland244376
Node: Amazon245641 Node: Amazon245838
Ref: #amazon245761 Ref: #amazon245958
Node: Paypal247480 Node: Paypal247677
Ref: #paypal247576 Ref: #paypal247773
Node: CSV rules255220 Node: CSV rules255417
Ref: #csv-rules255338 Ref: #csv-rules255535
Node: skip255671 Node: skip255868
Ref: #skip255771 Ref: #skip255968
Node: fields list256146 Node: fields list256343
Ref: #fields-list256285 Ref: #fields-list256482
Node: field assignment257788 Node: field assignment257985
Ref: #field-assignment257940 Ref: #field-assignment258137
Node: Field names258868 Node: Field names259065
Ref: #field-names259008 Ref: #field-names259205
Node: date field259388 Node: date field259585
Ref: #date-field259508 Ref: #date-field259705
Node: date2 field259556 Node: date2 field259753
Ref: #date2-field259699 Ref: #date2-field259896
Node: status field259755 Node: status field259952
Ref: #status-field259900 Ref: #status-field260097
Node: code field259949 Node: code field260146
Ref: #code-field260096 Ref: #code-field260293
Node: description field260141 Node: description field260338
Ref: #description-field260303 Ref: #description-field260500
Node: comment field260362 Node: comment field260559
Ref: #comment-field260519 Ref: #comment-field260716
Node: account field260734 Node: account field260931
Ref: #account-field260886 Ref: #account-field261083
Node: amount field261461 Node: amount field261658
Ref: #amount-field261612 Ref: #amount-field261809
Node: currency field262857 Node: currency field263054
Ref: #currency-field263012 Ref: #currency-field263209
Node: balance field263269 Node: balance field263466
Ref: #balance-field263403 Ref: #balance-field263600
Node: separator263775 Node: separator263972
Ref: #separator263907 Ref: #separator264104
Node: if block264447 Node: if block264644
Ref: #if-block264574 Ref: #if-block264771
Node: Matching the whole record264975 Node: Matching the whole record265172
Ref: #matching-the-whole-record265152 Ref: #matching-the-whole-record265349
Node: Matching individual fields265955 Node: Matching individual fields266152
Ref: #matching-individual-fields266161 Ref: #matching-individual-fields266358
Node: Combining matchers266385 Node: Combining matchers266582
Ref: #combining-matchers266583 Ref: #combining-matchers266780
Node: Rules applied on successful match266896 Node: Rules applied on successful match267093
Ref: #rules-applied-on-successful-match267089 Ref: #rules-applied-on-successful-match267286
Node: if table267743 Node: if table267940
Ref: #if-table267864 Ref: #if-table268061
Node: end269602 Node: end269799
Ref: #end269716 Ref: #end269913
Node: date-format269940 Node: date-format270137
Ref: #date-format270074 Ref: #date-format270271
Node: decimal-mark271070 Node: decimal-mark271267
Ref: #decimal-mark271217 Ref: #decimal-mark271414
Node: newest-first271556 Node: newest-first271753
Ref: #newest-first271699 Ref: #newest-first271896
Node: include272382 Node: include272579
Ref: #include272515 Ref: #include272712
Node: balance-type272959 Node: balance-type273156
Ref: #balance-type273081 Ref: #balance-type273278
Node: Tips273781 Node: Tips273978
Ref: #tips273872 Ref: #tips274069
Node: Rapid feedback274171 Node: Rapid feedback274368
Ref: #rapid-feedback274290 Ref: #rapid-feedback274487
Node: Valid CSV274750 Node: Valid CSV274947
Ref: #valid-csv274882 Ref: #valid-csv275079
Node: File Extension275074 Node: File Extension275271
Ref: #file-extension275228 Ref: #file-extension275425
Node: Reading multiple CSV files275657 Node: Reading multiple CSV files275854
Ref: #reading-multiple-csv-files275844 Ref: #reading-multiple-csv-files276041
Node: Valid transactions276085 Node: Valid transactions276282
Ref: #valid-transactions276265 Ref: #valid-transactions276462
Node: Deduplicating importing276893 Node: Deduplicating importing277090
Ref: #deduplicating-importing277074 Ref: #deduplicating-importing277271
Node: Setting amounts278107 Node: Setting amounts278304
Ref: #setting-amounts278264 Ref: #setting-amounts278461
Node: Amount signs280705 Node: Amount signs280902
Ref: #amount-signs280859 Ref: #amount-signs281056
Node: Setting currency/commodity281546 Node: Setting currency/commodity281743
Ref: #setting-currencycommodity281734 Ref: #setting-currencycommodity281931
Node: Amount decimal places282908 Node: Amount decimal places283105
Ref: #amount-decimal-places283100 Ref: #amount-decimal-places283297
Node: Referencing other fields283412 Node: Referencing other fields283609
Ref: #referencing-other-fields283611 Ref: #referencing-other-fields283808
Node: How CSV rules are evaluated284508 Node: How CSV rules are evaluated284705
Ref: #how-csv-rules-are-evaluated284683 Ref: #how-csv-rules-are-evaluated284880
Node: TIMECLOCK FORMAT286134 Node: TIMECLOCK FORMAT286331
Ref: #timeclock-format286274 Ref: #timeclock-format286471
Node: TIMEDOT FORMAT288335 Node: TIMEDOT FORMAT288532
Ref: #timedot-format288473 Ref: #timedot-format288670
Node: COMMON TASKS293035 Node: COMMON TASKS293232
Ref: #common-tasks293164 Ref: #common-tasks293361
Node: Getting help293571 Node: Getting help293768
Ref: #getting-help293705 Ref: #getting-help293902
Node: Constructing command lines294258 Node: Constructing command lines294455
Ref: #constructing-command-lines294452 Ref: #constructing-command-lines294649
Node: Starting a journal file295149 Node: Starting a journal file295346
Ref: #starting-a-journal-file295349 Ref: #starting-a-journal-file295546
Node: Setting opening balances296537 Node: Setting opening balances296734
Ref: #setting-opening-balances296735 Ref: #setting-opening-balances296932
Node: Recording transactions299876 Node: Recording transactions300073
Ref: #recording-transactions300058 Ref: #recording-transactions300255
Node: Reconciling300614 Node: Reconciling300811
Ref: #reconciling300759 Ref: #reconciling300956
Node: Reporting303016 Node: Reporting303213
Ref: #reporting303158 Ref: #reporting303355
Node: Migrating to a new file307157 Node: Migrating to a new file307354
Ref: #migrating-to-a-new-file307307 Ref: #migrating-to-a-new-file307504
Node: LIMITATIONS307606 Node: LIMITATIONS307803
Ref: #limitations307734 Ref: #limitations307931
Node: TROUBLESHOOTING308477 Node: TROUBLESHOOTING308674
Ref: #troubleshooting308592 Ref: #troubleshooting308789
 
End Tag Table End Tag Table

View File

@ -2000,19 +2000,19 @@ COMMANDS
when necessary. It can be useful for a cleaner display of reports with when necessary. It can be useful for a cleaner display of reports with
many commodities: many commodities:
$ hledger bal -T -Y $ hledger -f examples/bcexample.hledger bal assets:us:etrade -3 -T -Y
Balance changes in 2012-01-01..2014-12-31: Balance changes in 2012-01-01..2014-12-31:
|| 2012 2013 2014 Total || 2012 2013 2014 Total
==================++============================================================================================================================= ==================++===========================================================================================================================
Assets:US:ETrade || 10.00 ITOT, 337.18 USD, 2 more.. 70.00 GLD, 18.00 ITOT, 3 more.. -11.00 ITOT, 3 more.. 70.00 GLD, 17.00 ITOT, 3 more.. Assets:US:ETrade || 10.00 ITOT, 337.18 USD, 2 more.. 70.00 GLD, 18.00 ITOT, 3 more.. -11.00 ITOT, 3 more.. 70.00 GLD, 17.00 ITOT, 3 more..
------------------++----------------------------------------------------------------------------------------------------------------------------- ------------------++---------------------------------------------------------------------------------------------------------------------------
total || 10.00 ITOT, 337.18 USD, 2 more.. 70.00 GLD, 18.00 ITOT, 3 more.. -11.00 ITOT, 3 more.. 70.00 GLD, 17.00 ITOT, 3 more.. || 10.00 ITOT, 337.18 USD, 2 more.. 70.00 GLD, 18.00 ITOT, 3 more.. -11.00 ITOT, 3 more.. 70.00 GLD, 17.00 ITOT, 3 more..
$ hledger bal -T -Y --commodity-column $ hledger -f examples/bcexample.hledger bal assets:us:etrade -3 -T -Y --commodity-column
Balance changes in 2012-01-01..2014-12-31: Balance changes in 2012-01-01..2014-12-31:
|| Commodity 2012 2013 2014 Total || Commodity 2012 2013 2014 Total
==================++============================================= ==================++=============================================
Assets:US:ETrade || GLD 0 70.00 0 70.00 Assets:US:ETrade || GLD 0 70.00 0 70.00
Assets:US:ETrade || ITOT 10.00 18.00 -11.00 17.00 Assets:US:ETrade || ITOT 10.00 18.00 -11.00 17.00
@ -2029,12 +2029,12 @@ COMMANDS
This flag also affects CSV output, which is useful for producing data This flag also affects CSV output, which is useful for producing data
that is easier to consume, eg when making charts: that is easier to consume, eg when making charts:
$ hledger bal -T -O csv $ hledger -f examples/bcexample.hledger bal assets:us:etrade -3 -O csv
"account","balance" "account","balance"
"Assets:US:ETrade","70.00 GLD, 17.00 ITOT, 5120.50 USD, 36.00 VEA, 294.00 VHT" "Assets:US:ETrade","70.00 GLD, 17.00 ITOT, 5120.50 USD, 36.00 VEA, 294.00 VHT"
"total","70.00 GLD, 17.00 ITOT, 5120.50 USD, 36.00 VEA, 294.00 VHT" "total","70.00 GLD, 17.00 ITOT, 5120.50 USD, 36.00 VEA, 294.00 VHT"
$ hledger bal -T -O csv --commodity-column $ hledger -f examples/bcexample.hledger bal assets:us:etrade -3 -O csv --commodity-column
"account","commodity","balance" "account","commodity","balance"
"Assets:US:ETrade","GLD","70.00" "Assets:US:ETrade","GLD","70.00"
"Assets:US:ETrade","ITOT","17.00" "Assets:US:ETrade","ITOT","17.00"